Skip to content

Instantly share code, notes, and snippets.

@npometko
Created February 7, 2013 15:06
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 npometko/4731482 to your computer and use it in GitHub Desktop.
Save npometko/4731482 to your computer and use it in GitHub Desktop.
Application Trace
ArgumentError in SessionsController#create
wrong number of arguments (0 for 2)
Rails.root: /root/auth
Application Trace | Framework Trace | Full Trace
app/models/user.rb:19:in `authenticate'
app/controllers/sessions_controller.rb:10:in `create'
Request
Parameters:
{"utf8"=>"✓",
"authenticity_token"=>"ZDu2Sr8SfoKxtgrjoVDdjr6g6FdthAZ+DfaPHJyuFzM=",
"email"=>"r@r.r",
"password"=>"[FILTERED]",
"commit"=>"Save changes"}
Show session dump
_csrf_token: "ZDu2Sr8SfoKxtgrjoVDdjr6g6FdthAZ+DfaPHJyuFzM="
session_id: "b45a25afed97d3604b5462d17784fa5d"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment