Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SyntaxError in RegisterController#index
- D:/www/rails_apps/ipac/app/controllers/register_controller.rb:16: syntax error, unexpected tASSOC, expecting kEND
- @user.username => params([:register][:username])
- ^
- D:/www/rails_apps/ipac/app/controllers/register_controller.rb:17: syntax error, unexpected tASSOC, expecting kEND
- @user.password => params([:register][:password])
- ^
- D:/www/rails_apps/ipac/app/controllers/register_controller.rb:18: syntax error, unexpected tASSOC, expecting kEND
- @user.email => params([:register][:email])
- ^
- D:/www/rails_apps/ipac/app/controllers/register_controller.rb:19: syntax error, unexpected tASSOC, expecting kEND
- @user.usertype_id => params([:register][:mem_level])
- ^
- D:/www/rails_apps/ipac/app/controllers/register_controller.rb:21: syntax error, unexpected tASSOC, expecting kEND
- @userinfo.first_name => params([:register][:fname])
- ^
- D:/www/rails_apps/ipac/app/controllers/register_controller.rb:22: syntax error, unexpected tASSOC, expecting kEND
- @userinfo.last_name => params([:register][:lname])
- ^
- D:/www/rails_apps/ipac/app/controllers/register_controller.rb:23: syntax error, unexpected tASSOC, expecting kEND
- @userinfo.address_l1 => params([:register][:address_l1])
- ^
- D:/www/rails_apps/ipac/app/controllers/register_controller.rb:24: syntax error, unexpected tASSOC, expecting kEND
- @userinfo.address_l2 => params([:register][:address_l2])
- ^
- D:/www/rails_apps/ipac/app/controllers/register_controller.rb:25: syntax error, unexpected tASSOC, expecting kEND
- @userinfo.city => params([:register][:city])
- ^
- D:/www/rails_apps/ipac/app/controllers/register_controller.rb:26: syntax error, unexpected tASSOC, expecting kEND
- @userinfo.state => params([:register][:state])
- ^
- D:/www/rails_apps/ipac/app/controllers/register_controller.rb:27: syntax error, unexpected tASSOC, expecting kEND
- @userinfo.zipcode => params([:register][:zip])
- ^
- D:/www/rails_apps/ipac/app/controllers/register_controller.rb:28: syntax error, unexpected tASSOC, expecting kEND
- @userinfo.phone => params([:register][:phone])
- ^
- RAILS_ROOT: D:/www/rails_apps/ipac
- Application Trace | Framework Trace | Full Trace
- vendor/rails/activesupport/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:203:in `load_file'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:202:in `load_file'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:94:in `require_or_load'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:248:in `load_missing_constant'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:453:in `const_missing'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:465:in `const_missing'
- vendor/rails/activesupport/lib/active_support/inflector.rb:257:in `constantize'
- vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:148:in `constantize'
- vendor/rails/actionpack/lib/action_controller/routing.rb:1399:in `recognize'
- vendor/rails/actionpack/lib/action_controller/dispatcher.rb:170:in `handle_request'
- vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in `dispatch'
- vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
- vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in `dispatch'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/rails.rb:76:in `process'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/rails.rb:74:in `synchronize'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/rails.rb:74:in `process'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:155:in `process_client'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:154:in `each'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:154:in `process_client'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:281:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:281:in `initialize'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:281:in `new'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:281:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:264:in `initialize'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:264:in `new'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:264:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/configurator.rb:282:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/configurator.rb:281:in `each'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/configurator.rb:281:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/bin/mongrel_rails:126:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/command.rb:212:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/bin/mongrel_rails:279
- c:/ruby/bin/mongrel_rails:16:in `load'
- c:/ruby/bin/mongrel_rails:16
- vendor/rails/activesupport/lib/active_support/dependencies.rb:203:in `load_without_new_constant_marking'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:203:in `load_file'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:342:in `new_constants_in'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:202:in `load_file'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:94:in `require_or_load'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:248:in `load_missing_constant'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:453:in `const_missing'
- vendor/rails/activesupport/lib/active_support/dependencies.rb:465:in `const_missing'
- vendor/rails/activesupport/lib/active_support/inflector.rb:257:in `constantize'
- vendor/rails/activesupport/lib/active_support/core_ext/string/inflections.rb:148:in `constantize'
- vendor/rails/actionpack/lib/action_controller/routing.rb:1399:in `recognize'
- vendor/rails/actionpack/lib/action_controller/dispatcher.rb:170:in `handle_request'
- vendor/rails/actionpack/lib/action_controller/dispatcher.rb:115:in `dispatch'
- vendor/rails/actionpack/lib/action_controller/dispatcher.rb:126:in `dispatch_cgi'
- vendor/rails/actionpack/lib/action_controller/dispatcher.rb:9:in `dispatch'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/rails.rb:76:in `process'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/rails.rb:74:in `synchronize'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/rails.rb:74:in `process'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:155:in `process_client'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:154:in `each'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:154:in `process_client'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:281:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:281:in `initialize'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:281:in `new'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:281:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:264:in `initialize'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:264:in `new'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel.rb:264:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/configurator.rb:282:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/configurator.rb:281:in `each'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/configurator.rb:281:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/bin/mongrel_rails:126:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/lib/mongrel/command.rb:212:in `run'
- c:/ruby/lib/ruby/gems/1.8/gems/mongrel-1.1-mswin32/bin/mongrel_rails:279
- c:/ruby/bin/mongrel_rails:16:in `load'
- c:/ruby/bin/mongrel_rails:16
- Request
- Parameters:
- {"commit"=>"Register",
- "register"=>{"city"=>"",
- "zip"=>"",
- "card_num"=>"",
- "card_exp"=>"",
- "username"=>"",
- "confirm_password"=>"",
- "lname"=>"",
- "address_l1"=>"",
- "fname"=>"",
- "address_l2"=>"",
- "phone"=>"",
- "mem_level"=>"2",
- "card_name"=>"",
- "password"=>"",
- "card_cvv"=>"",
- "state"=>"",
- "email"=>""}}
- Show session dump
- ---
- flash: !map:ActionController::Flash::FlashHash {}
- Response
- Headers:
- {"cookie"=>[],
- "Cache-Control"=>"no-cache"}
Add Comment
Please, Sign In to add comment