As per Ruby on Rails convention, controller names get pluralized while model names are singular. Example : a Users controller, but a User model.
rails genera
Ruby on Rails follow linguistic convention. That means a model represents a single user, whereas a database table consists of many users.
An instance of your User
model represents a single user, so is singular. The users
table, by contrast, holds all of your users, so it's plural.
in rails conntroller and table name are plural model alone is singular.In a two word name second word is pluralized !
To complete Emily's answer
An instance of your User model represents a single user, so is singular. The users table, by contrast, holds all of your users, so it's plural.
Because the table holds users. Its just the convention.