On 22 July 2011 09:05, Curtis Schofield <[email protected]> wrote: > On Jul 22, 2011, at 1:02 AM, Rob Gu wrote: > > If I do something like: > > "first_user = User.first" > > Then: > > "first_user.microposts" - should return a hash of the first user's > > microposts, but it just returns empty. > > > > what is User.first.id ?
or Micropost.first.user ? ...I think Curtis and I have the same thought going through our heads, that *maybe* the first user's id isn't 1... -- 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.

