Raisl 2.2 and has_many_trough problems

Have just installed rails 2.2.2 My application has many
has_many_trough associtions. With rails 2.2.2 I got an error trying to access some of them

Event Model has_many :people,:through => :participants has_many :participants Person Model 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

Frederick Cheung 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

Problem solved !!!!!!!!!!!!!