I''m having an issue using the ActiveRecordStore for sessions with Rails 0.9.4.1. When I setup the session object during login I get the following stack trace: IndexError in Login#auth string not matched /app/controllers/login_controller.rb:26:in `auth'' gems/gems/actionpack-1.3.1/lib/action_controller/base.rb:596:in `send'' gems/gems/actionpack-1.3.1/lib/action_controller/base.rb:596:in `perform_action_without_filters'' gems/gems/actionpack-1.3.1/lib/action_controller/filters.rb:294:in `perform_action_without_benchmark'' gems/gems/actionpack-1.3.1/lib/action_controller/benchmarking.rb:30:in `perform_action_without_rescue'' gems/gems/actionpack-1.3.1/lib/action_controller/benchmarking.rb:30:in `measure'' gems/gems/actionpack-1.3.1/lib/action_controller/benchmarking.rb:30:in `perform_action_without_rescue'' gems/gems/actionpack-1.3.1/lib/action_controller/rescue.rb:75:in `perform_action'' gems/gems/actionpack-1.3.1/lib/action_controller/base.rb:263:in `send'' gems/gems/actionpack-1.3.1/lib/action_controller/base.rb:263:in `process'' gems/gems/actionpack-1.3.1/lib/action_controller/base.rb:241:in `process'' gems/gems/rails-0.9.4.1/lib/webrick_server.rb:101:in `load'' gems/gems/rails-0.9.4.1/lib/webrick_server.rb:80:in `handle_mapped'' gems/gems/rails-0.9.4.1/lib/webrick_server.rb:34:in `do_POST'' ./script/server:48 The relevant section of the login_controller is this: @session["user"] = name This works fine when I use the default Pstore session. Has anyone else seen this? -- Daniel Hobe
Daniel Hobe wrote:> I''m having an issue using the ActiveRecordStore for sessions with Rails > 0.9.4.1. >Yep, see http://dev.rubyonrails.org/ticket/430 It''s beyond all that I can comprehend with 100% of my brain :( -Scott _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails