[Rails] Re: find_each(:include = ) the association never loads

2011-10-26 Thread Allan D.
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

[Rails] Re: find_each(:include = ) the association never loads

2011-10-26 Thread Allan D.
Yes its Nil, nothing loads, Does it have something to do with Devise running as the authentication? I'm baffled why even a simple Entry.find(:include = :user) won't work either Frederick Cheung wrote in post #1028696: On Oct 26, 5:32pm, Allan D. li...@ruby-forum.com wrote: luck. I just