In MVC framworks (such as Ruby on Rails), do usually Model spell as singular and controller and view
- by Jian Lin
I usually see Ruby on Rails books using
script/generate model Story name:string link:string
which is a singular Story, while when it is controller
script/generate controller Stories index
then the Story now is Stories, which is plural.
Is this a standard on Ruby on Rails? Is it true in other MVC frameworks too, like CakePHP, Symfony, Django, or TurboGears?
I see that in the book Rails Space, the controller is also called User, which is the same as the model name, and it is the only exception I see.