Frederick Cheung wrote:
> On 2 Jan 2009, at 17:36, Taylor Strait wrote:
>> Most of this works.  User.referrals returns all the referral objects.
>> Referral.referer and Referral.referee both return the appropriate
>> objects.  But the User.referer/referee methods both raise the same
>> error:
>>
> 
> The class_name option should really be a string (ie :class_name =>
> 'User')
> 
> Fred

Thanks that solved the issue.

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