Chris Kalaboukis wrote: > Hi guys: This is driving me crazy. Can someone please point me in the > right direction: > > When I call lastrec.id, it works > When I call lastrec.created_at it gives me (undefined method > `created_at' for nil:NilClass) > > Any ideas? Thanks for your help!
If you look in your database, what does this id match to? -- 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.

