On 2 February 2011 22:04, Chris Gallagher <li...@ruby-forum.com> wrote:
> Sure did:

Sure did what?  Please quote the previous post so each message makes sense.

>
>
> class User < ActiveRecord::Base
>
>  has_many   :user_mailboxes
>  belongs_to :other_user, :class_name => "UserMailbox"

That does not look right.

> end
>
>
> class UserMailbox < ActiveRecord::Base
>
>  belongs_to :user
>  belongs_to :other_user, :class_name => "User"

Where is the has_many or has_one at the other end of this?

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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to