Project

General

Profile

Default admin/admin throws Action Controller: Exception Caught error

Added by Ralph Clark over 13 years ago

New to Ruby on Rails and Redmine.
When I try to log in as admin/admin, I get the following error:
NoMethodError in AccountController#login

undefined method `destroy' for {}:Hash

RAILS_ROOT: D:/Ruby187/Apps/Redmine
Application Trace | Framework Trace | Full Trace

D:/Ruby187/Apps/Redmine/vendor/rails/actionpack/lib/action_controller/request.rb:449:in `reset_session'
D:/Ruby187/Apps/Redmine/vendor/rails/actionpack/lib/action_controller/base.rb:1244:in `reset_session_without_flash'
D:/Ruby187/Apps/Redmine/vendor/rails/actionpack/lib/action_controller/flash.rb:159:in `reset_session'
D:/Ruby187/Apps/Redmine/app/controllers/application_controller.rb:89:in `logged_user='
D:/Ruby187/Apps/Redmine/app/controllers/account_controller.rb:203:in `successful_authentication'
D:/Ruby187/Apps/Redmine/app/controllers/account_controller.rb:155:in `password_authentication'
D:/Ruby187/Apps/Redmine/app/controllers/account_controller.rb:142:in `authenticate_user'
D:/Ruby187/Apps/Redmine/app/controllers/account_controller.rb:30:in `login'

Request

Parameters:

{"back_url"=>"http%3A%2F%2Fppowportalv1.quantum.com%3A3000%2F",
"authenticity_token"=>"qJTvFTS6qMovn+MSDATbc2LMqev+/bPdZbFDG1jCXlY=",
"username"=>"admin",
"password"=>"admin",
"login"=>"Login »"}

Show session dump
Response

Headers:

{"Content-Type"=>"",
"Cache-Control"=>"no-cache"}

using mySQL DB.

Any ideas how to correct this issue?