This project is archived and is in readonly mode.
reset_session causes rack exception if session blank
-
Wincent Colaiuta
Ok, here are the repro instructions:
Create a new app:
rails ticket2108 cd ticket2108Create a demo scaffold:
script/generate scaffold YaddaTurn on ActiveRecord session store by uncommenting this line in config/initializers/session_store.rb:
# ActionController::Base.session_store = :active_record_storeInsert "reset_session" in a controller action; for example, in app/controllers/yaddas_controller.rb:
def index reset_session # ... etcFire up the server:
script/serverNow visit http://localhost:3000/yaddas and watch things go boom.
-
josh
- Assigned user set to josh
-
josh
- Milestone cleared.
-
Repository
- State changed from new to resolved
(from [9b1b88f09cf1498f04e1cd469d0d5ffccf2b93cc]) Fixed reset_session for ActiveRecord session store [#2108 reset_session causes rack exception if session blank state:resolved] http://github.com/rails/rails/co...
-
Wincent Colaiuta
Thanks.