On 29 November 2011 12:18, Colin Law <[email protected]> wrote:
> On 29 November 2011 12:04, Somnath Mallick <[email protected]> wrote:
>> ActiveRecord::RecordNotFound (Couldn't find User with id=1):
>>  app/controllers/users_controller.rb:4:in `show'
>
> Can you show us the code for users_controller show method.

Also, can you provide the output to calling the following in a console:
  User.first

(I have an inkling that your first record doesn't have an id of "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.

Reply via email to