In the test environment, logging out and back in is not working for me. The log for the first login looks like this: Processing UserSessionsController#create (for 127.0.0.1 at 2010-05-24 19:53:57) [POST] Parameters: {"user_session"=>{"remember_me"=>"true", "password"=>"[FILTERED]", "login"=>"test"}, "action"=>"create", "controller"=>"user_sessions"} User Load (0.5ms) SELECT * FROM `users` WHERE (LOWER(`users`.login) = ''test'') LIMIT 1 The test logs out and logs back in as a different user, the SELECT is not on the login field, but with the id of the first user, like still logged in: Processing UserSessionsController#create (for 127.0.0.1 at 2010-05-24 19:53:57) [POST] Parameters: {"user_session"=>{"remember_me"=>"true", "password"=>"[FILTERED]", "login"=>"test2"}, "action"=>"create", "controller"=>"user_sessions"} User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 411008527) LIMIT 1 Is Authlogic working with Rails 2.3.6 for other people? Jeffrey -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Fixed in 2.3.8 Quoting Jeffrey L. Taylor <ror-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org>:> In the test environment, logging out and back in is not working for me. The > log for the first login looks like this: > > Processing UserSessionsController#create (for 127.0.0.1 at 2010-05-24 19:53:57) [POST] > Parameters: {"user_session"=>{"remember_me"=>"true", "password"=>"[FILTERED]", "login"=>"test"}, "action"=>"create", "controller"=>"user_sessions"} > User Load (0.5ms) SELECT * FROM `users` WHERE (LOWER(`users`.login) = ''test'') LIMIT 1 > > > The test logs out and logs back in as a different user, the SELECT is not on > the login field, but with the id of the first user, like still logged in: > > Processing UserSessionsController#create (for 127.0.0.1 at 2010-05-24 19:53:57) [POST] > Parameters: {"user_session"=>{"remember_me"=>"true", "password"=>"[FILTERED]", "login"=>"test2"}, "action"=>"create", "controller"=>"user_sessions"} > User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 411008527) LIMIT 1 > > > Is Authlogic working with Rails 2.3.6 for other people? > > Jeffrey-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Oops, spoke too soon. I was switching the wrong application and testing. Problme/bug still exists. Jeffrey Quoting Jeffrey L. Taylor <ror-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org>:> Fixed in 2.3.8 > > > Quoting Jeffrey L. Taylor <ror-f/t7CGFWhwGcvWdFBKKxig@public.gmane.org>: > > In the test environment, logging out and back in is not working for me. The > > log for the first login looks like this: > > > > Processing UserSessionsController#create (for 127.0.0.1 at 2010-05-24 19:53:57) [POST] > > Parameters: {"user_session"=>{"remember_me"=>"true", "password"=>"[FILTERED]", "login"=>"test"}, "action"=>"create", "controller"=>"user_sessions"} > > User Load (0.5ms) SELECT * FROM `users` WHERE (LOWER(`users`.login) = ''test'') LIMIT 1 > > > > > > The test logs out and logs back in as a different user, the SELECT is not on > > the login field, but with the id of the first user, like still logged in: > > > > Processing UserSessionsController#create (for 127.0.0.1 at 2010-05-24 19:53:57) [POST] > > Parameters: {"user_session"=>{"remember_me"=>"true", "password"=>"[FILTERED]", "login"=>"test2"}, "action"=>"create", "controller"=>"user_sessions"} > > User Load (0.5ms) SELECT * FROM `users` WHERE (`users`.`id` = 411008527) LIMIT 1 > > > > > > Is Authlogic working with Rails 2.3.6 for other people? > > > > Jeffrey > > -- > You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. > To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org > For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en. >-- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Seemingly Similar Threads
- Authlogic and rails 3 : NameError in User sessionsController#new
- AuthLogic Question - one time password (persistence_token) - what config is required to use this???
- RSpec with Rails 3.1rc4: spec test won't recognize <%= %> (should be simple)
- NoMethodError in User sessionsController#create - Authlogic
- Strange authlogic logout behavior