Hello, in my app, I have users, groups, and grouproles.
Each user can be a member of multiple groups. This I have achieved by imposing has_and_belongs_to_many relationship between users and groups (i.e. creating another table groups_users). However, each user should have a grouprole for each group he/she participates in. This means that for every user-group pair there should be a grouprole. Could you help me out with solving this, I don't know how to add this relationship between users, groups, and gourproles. thanks :) -- 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 -~----------~----~----~----~------~----~------~--~---

