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 [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.