Relationship between model and controller in rails
i am开发者_StackOverflow a beginner, i got doubt regarding model and controller name specification i have created model name as "login" weather the controller name should plural of model name like "logins" ?
You might want to read up on naming conventions.
The Model
is usually singular and the Controller
is usually plural.
精彩评论