On Aug 20, 3:31 am, Howl Wong <[email protected]> wrote: > Frederick Cheung wrote: > > With has many through you use the :source option to tell it which of > > the associations of friendships to follow to get to the desired row(s) > > > Fred > > Now~ I need `activities`.user_id not is `activities`.id :D
Then you need to change the source association to point at what you want (i think belongs_to has a primary_key option these days) Fred > > -- > Posted viahttp://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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

