On Nov 29, 9:04 am, Somnath Mallick <[email protected]> wrote:
>
> irb(main):012:0> user.find(1)
> NoMethodError: undefined method `find' for #<User:0x1d401b0>
>         from

You should "find" the class, not the instance:

User.find(1)

>
> Why doesn't this site have something like code tags or something?!!! :)
>

You're posting from ruby-forum, a forum-like bridge to Ruby on Rails
mailing list -- is not a forum.

--
Luis Lavena

-- 
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