should we follow the convention? or use singular?
Definitely ignore as many conventions as you can, and thereby make development as hard as possible on yourself.
Ah yes, Consternation over Convention!
Really makes sense. A table has a collection of objects, plural.
I ask because I've seen debate on it and am not sure if the community has reached a consensus. Objects named person corresponding to a table named people seems brokenS, but I'm happy to do whatever is most standard. Perhaps this issue is a dead horse?
hkhkhk wrote:
I ask because I've seen debate on it and am not sure if the community has reached a consensus.
The Rails convention is to use plural table names.
Objects named person corresponding to a table named people seems brokenS,
Why? One object is one person. The table contains data for many objects -- that is to say, many people.
but I'm happy to do whatever is most standard. Perhaps this issue is a dead horse?
I'd say so.
Best,