In a has_many :through association the join model is automatically created.
But...how the parameters are passed to the model?
For example, if I have
Model1
has_many :models
has_many :models2, through => :models

and

Model2
has_many :models
has_many :model1, through => :models

The join model is Model.

and I create a new Model1, how params model1_id and model2_id are
passed to model Model?

I want to manage them in a after_save callback of the join model.
How can I do that?

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