I was having the same issue as Clive trying to test the referenced example I was able to get some functionality by using :has_one subscription rather than :has_many.
I do have a question though. I can set the through association like this user=User.create(:name=>"Bob") m=Magazine.create(:name=>'test') user.magazine=m then user.subscription will = #<Subscription id: 1, user_id: 1, magazine_id: 1...> However, using user.update_attributes(:magazine=>m) the return is true, but there is no association created. Subscription remains nil. Am I wrong in assuming that I should be able to do this? On Jan 5, 10:03 am, Andrius Chamentauskas <[email protected]> wrote: > Maybe your defined rails version in environment.rb is not 2.2.2? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

