 |
Forums |
Admin Start New Thread
| Message: 75354 |
 |
BY: James Gray (bbazzarrakk) DATE: 2009-05-16 01:40 SUBJECT: RE: help with merge! option First, this is just a Rails question. You would probably get much better help for a topic like this by taking it to a Rails group. One such group is:
http://groups.google.com/group/rubyonrails-talk?lnk=srg
You have pretty much already figured out the issue though. Rails associations are really just shortcuts that help you work with relationships you build into your data.
By default, your course association does look for a course_id column in your students table. You will need to add that field or rework the association to fit your needs.
I hope that helps.
| |
Thread View
Post a followup to this message
|
 |