On Oct 26, 5:32 pm, "Allan D." <[email protected]> wrote:
> Thanks, But no luck,
>
> I checked all the users and entries, they all match up with id's and are
> not null.
>
> I then proceeded to delete all but one entry/user.
>
> They are both associated but still it never gets the user object.
>
> I put "attr_accessible :user_id, :user" on the entry table. But still no
> luck.
> I just can't load a has_one association
>

So is entry.user non nil if you don't use the include option ?

Fred
> --
> Posted viahttp://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