pab.ror
pab.ror

Reputation: 1

Relationship between model and controller in rails

i am 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" ?

Upvotes: 0

Views: 355

Answers (1)

zsalzbank
zsalzbank

Reputation: 9857

You might want to read up on naming conventions.

The Model is usually singular and the Controller is usually plural.

Upvotes: 1

Related Questions