开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜