Displaying 1 result from an estimated 1 matches for "ffb4eb02".
2006 Mar 23
3
User/group/role model question
Hi.
I have an app where "users" can belong in "groups" with certain "roles"
(eg. a user can own a group).
Normally I''d make users has_and_belongs_to_many groups and put a role_id
on the join table. But - a role is really a first class citizen also, so
a model is in order.
The problem with making a "role" model which has_many "users"