[Rails] Re: association to an association
Sharagoz wrote:
> It would be easier if you actually describe the problem you are trying
> to solve.
> Lets use Person has_many Things as an example.
> It sounds to me like you need to either put these new attributes in
> the things table, or create a new assocication from the new table to
> things.
i pretty much already described it. if you had a HABTM association
between people and books .. i wanted to have attributes attached to each
association. for example: for person 5 and book 4 you would have related
records 1 and 2.
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home