daily pastebin goal
18%
SHARE
TWEET

Untitled

a guest Jun 13th, 2018 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ArgumentError in UsersController#create
  2.  
  3. wrong number of arguments (0 for 1)
  4. RAILS_ROOT: /Users/evansparkman/webapps/cms
  5.  
  6. Application Trace | Framework Trace | Full Trace
  7. vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in `decide_users_role'
  8. vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in `send'
  9. vendor/rails/activesupport/lib/active_support/callbacks.rb:173:in `evaluate_method'
  10. vendor/rails/activesupport/lib/active_support/callbacks.rb:161:in `call'
  11. vendor/rails/activesupport/lib/active_support/callbacks.rb:93:in `run'
  12. vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `each'
  13. vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `send'
  14. vendor/rails/activesupport/lib/active_support/callbacks.rb:92:in `run'
  15. vendor/rails/activesupport/lib/active_support/callbacks.rb:272:in `run_callbacks'
  16. vendor/rails/activerecord/lib/active_record/callbacks.rb:298:in `callback'
  17. vendor/rails/activerecord/lib/active_record/callbacks.rb:219:in `create_without_timestamps'
  18. vendor/rails/activerecord/lib/active_record/timestamp.rb:29:in `create'
  19. vendor/rails/activerecord/lib/active_record/base.rb:2483:in `create_or_update_without_callbacks'
  20. vendor/rails/activerecord/lib/active_record/callbacks.rb:207:in `create_or_update'
  21. vendor/rails/activerecord/lib/active_record/base.rb:2211:in `save_without_validation'
  22. vendor/rails/activerecord/lib/active_record/validations.rb:911:in `save_without_dirty'
  23. vendor/rails/activerecord/lib/active_record/dirty.rb:75:in `save_without_transactions'
  24. vendor/rails/activerecord/lib/active_record/transactions.rb:106:in `save'
  25. vendor/rails/activerecord/lib/active_record/connection_adapters/abstract/database_statements.rb:66:in `transaction'
  26. vendor/rails/activerecord/lib/active_record/transactions.rb:79:in `transaction'
  27. vendor/rails/activerecord/lib/active_record/transactions.rb:98:in `transaction'
  28. vendor/rails/activerecord/lib/active_record/transactions.rb:106:in `save'
  29. vendor/rails/activerecord/lib/active_record/transactions.rb:118:in `rollback_active_record_state!'
  30. vendor/rails/activerecord/lib/active_record/transactions.rb:106:in `save'
  31. app/controllers/users_controller.rb:39:in `create'
  32. Request
  33.  
  34. Parameters:
  35.  
  36. {"commit"=>"Register",
  37.  "authenticity_token"=>"cd8093b94d983b6e30734623166f79ccfd229df1",
  38.  "user"=>{"city"=>"London",
  39.  "company_name"=>"BLove's Shack",
  40.  "email_confirmation"=>"test1005@esdezines.com",
  41.  "zip_code"=>"40741",
  42.  "agree_to_terms"=>"1",
  43.  "password_confirmation"=>"12345",
  44.  "tel_num"=>"555-555-5555",
  45.  "code_used"=>"82052446",
  46.  "last_name"=>"Love",
  47.  "address_one"=>"1234 Happy Trail",
  48.  "login"=>"blove16",
  49.  "password"=>"12345",
  50.  "first_name"=>"Brady",
  51.  "email"=>"test1005@esdezines.com",
  52.  "state"=>"KY"}}
  53. Show session dump
  54.  
  55. Response
  56.  
  57. Headers:
  58.  
  59. {"cookie"=>[[]],
  60.  "Cache-Control"=>"no-cache"}
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top