On 20 June 2012 08:39, Timen E. <[email protected]> wrote:
> Colin Law wrote in post #1065209:
>> On 19 June 2012 13:38, Timen E. <[email protected]> wrote:
>>>
>>> class Cardlevel < ActiveRecord::Base
>>>  belongs_to :users
>>> belongs_to :cards
>>
>> Those should both be singular (:user and :card).  Each cardlevel
>> belongs to one user and card so they should be singular.
>>
>> Colin
>
> That sounds fair indeed, however when i tried i still got the same
> error. This associations got me so bloody confused :')

Post the code for the models, the code that generates the error (with
a few lines each side) and the full error message.

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