Thanks a lot Michael

I ended up doing your second suggestion, shying away from the rails 
magic since i couldn't seem to really control it.

Personally it seems most natural to me for rails to work the association 
magic when either the foreign key is changed or the direct association 
set method is called.  I was hunting around and there's various 
discussions about this on rails development forums but i guess it never 
got resolved, or the rails gods decided against it.

Anyway, thanks again for your advice.

max

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