I am curious is there is a convention for the the following in CRUD:

I have users and groups. Each group can have many users, and each user
can have many groups.
These are related through a has_many :through pattern, with the
connecting model being membership.

The most common uses of these data are to get a list of groups for one
user, or a list of users for one group, or to check if two users are
in the same group.

What would be the best way to set up the controllers so that these
uses are easy and intuitive. Or, what setup would make it easiest for
the next developer to grok the system when I get hit by a bus.

Regards,

Eli

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to