Forums | Admin

Discussion Forums: open-discussion

Start New Thread 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

Thread Author Date
help with merge! optionDemetrius Olsen2009-05-15 23:40
      RE: help with merge! optionJames Gray2009-05-16 01:40
            RE: help with merge! optionDemetrius Olsen2009-05-19 15:50

Post a followup to this message