On 22 July 2010 20:31, Mark Horrocks <[email protected]> wrote:
> Colin Law wrote:
>
>> Try
>> belongs_to :players
>> belongs_to :games
>>
>
> Thanks! That fixed it.

If you look at the docs for belongs_to you will see that
belongs_to :model1, :model2 is not valid code.  It is a pity that
rails is not able to give a better error message for this however.  (I
found it by googling for your error message by the way.  Google is
often much quicker than asking for help).

Colin

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