nested_form
nested_form copied to clipboard
Many to Many relationship not working
Trying to create a many-to-many relationship, but i'm getting a rails complaint about the relationship not being set upon creation.
The model i'm trying to link to the form is already created, but for some reason it's expecting the relationship to be already there.
here's the code: http://stackoverflow.com/questions/16495588/couldnt-find-team-with-id-2-for-match-with-id
Same for me Please guide what need to do to work with has_and_belongs_to_many associations ??