Is there a plural/singular reference list for Rails?

Ruby on Rails has many different generators and other such things. In my experience, the naming is hardly ever obvious though for if you should use a singular or plural name.

For instance for the Controller generator you are suppose to use plural

$ rails generate controller Users new

But for Models you are suppose to use singular(for all names)

$ rails generate model User name:string email:string

Is there a thorough reference guide to which generators and such are using singular names and which ones are plural names?

6
задан Mogsdad 25 January 2018 в 15:04
поделиться