Jeff Cohen wrote: > On Dec 5, 11:43�am, Brandon Greeley <[EMAIL PROTECTED]> > wrote: >> EVENTS >> specifically that are called something like add_user, delete_user, >> Should I (b) reuse the user controller code and in "def create" check to >> Posted viahttp://www.ruby-forum.com/. > I think you would benefit a Memberships controller (or something like > that), that would handle the adding/removing of users to and from > groups. You might also want a corresponding membership model (though > it's not totally necessary, but many people find it helpful). > > That way, your Users and Groups controllers stay "clean", and you > isolate the membership-ness stuff to a separate controller. > > Jeff > > purpleworkshops.com
That sounds like a good option. I really didn't want to muddy up the users controller at all and keep them clean like you said. -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

