How do I retrieve the value of an attribute on my join table? For example: table 'people_places' person_id place_id disposition The first two use foreign keys and all that (I get that part). The value of 'disposition' is what I want.
on 2006-03-24 22:56
on 2006-03-24 22:59
Shit. Nevermind. Got it.
on 2006-04-09 21:00
If you're going to post here, for God's sake tell us what your solution was.
on 2006-04-09 21:49
Justin Skolnick wrote: > How do I retrieve the value of an attribute on my join table? For > example: > > table 'people_places' > person_id > place_id > disposition > > The first two use foreign keys and all that (I get that part). The value > of 'disposition' is what I want. Note that rich associations (attributes in join tables) have recently been deprecated. If you want that functionality, you should use a full join model (has_many :through). http://dev.rubyonrails.org/changeset/4123 -- Josh Susser http://blog.hasmanythrough.com