How does rails handle many to many relationships?
I am trying to create a user which can get assigned a pre defined group from the groups table.
Which is what the user_group table is for.. how is this done?
Picture of ERD below
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Railscast on many to many and another one that should work with your DB