Skip to content

Instantly share code, notes, and snippets.

@meoooh
Created November 1, 2013 07:32
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save meoooh/7262006 to your computer and use it in GitHub Desktop.
Save meoooh/7262006 to your computer and use it in GitHub Desktop.
Started POST "/users/sign_in.json" for 112.175.135.112 at 2013-11-01 07:31:50 +0000
Processing by Users::SessionsController#create as JSON
Parameters: {"email"=>"tester1@bbapi.com", "password"=>"12341234", "session"=>{"email"=>"tester1@bbapi.com", "password"=>"12341234"}}
User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'tester1@bbapi.com' LIMIT 1
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."email" = 'tester1@bbapi.com' LIMIT 1
Completed 500 Internal Server Error in 4ms
NoMethodError (undefined method `valid_password?' for nil:NilClass):
app/controllers/users/sessions_controller.rb:9:in `create'
Rendered /home/han/.rvm/gems/ruby-2.0.0-p247@railstutorial_rails_4_0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
Rendered /home/han/.rvm/gems/ruby-2.0.0-p247@railstutorial_rails_4_0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
Rendered /home/han/.rvm/gems/ruby-2.0.0-p247@railstutorial_rails_4_0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
Rendered /home/han/.rvm/gems/ruby-2.0.0-p247@railstutorial_rails_4_0/gems/actionpack-4.0.0/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (15.8ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment