Frederick Cheung wrote:
> On 16 Jan 2009, at 11:35, Hans Marmolin wrote:
> 
>>  has_many :events,:through => :participants
>>  has_many :participants
>> Table participants has the fields, event_id, person_id, role
>>
> 
> Do you need to create the :participants association before you create
> associations through it ?
> 
> Fred

What do you mean with before ?
However I changed the order to

has_many :participants
has_many :events,:through => :participants

And that does not solve the problem

After som more debugging it seems like all my HasManyThroughAssociation 
have the same problem
-- 
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 [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
-~----------~----~----~----~------~----~------~--~---

Reply via email to