A simple, short model naming question


#1

I have a join-model providing “has_many :through” association between
two models, User and Page [1].

I’m wondering if I may name that model UserPage instead of PagesUsers.
Of course, if the association was a regular habtm, the association
table should have been named “pages_users” by default. But in that
case, the table (and therefore its name) would only be used internally
by Rails. Whereas in the join-model case, we’re creating a full model,
which would be exposed as a class. So I think I prefer UserPage that -
as a class/object - is more intuitive and meaningful than PagesUsers.

Any reason I should use PagesUsers nonetheless?


-Alder

[1] as explained in
http://blog.hasmanythrough.com/articles/2006/04/20/many-to-many-dance-off