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
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 rubyonrails-talk@googlegroups.com
To u
I simply copied the code in that link, and in the associated table there
were only needed fields to establish the relations.
Regards,
林中鹏
On Sun, Jan 4, 2009 at 8:19 PM, Frederick Cheung wrote:
>
> On 4 Jan 2009, at 08:29, Clive wrote:
>
>
>> I followed the steps in the following link literall
3 matches
Mail list logo