# Rails 2.3.6 and Authlogic 2.1.4 or 2.1.3

**URL:** <https://www.ruby-forum.com/t/rails-2-3-6-and-authlogic-2-1-4-or-2-1-3/189124>\
**Category:** Rails\
**Created:** [May 25, 2010, 2:59am UTC](https://www.ruby-forum.com/t/rails-2-3-6-and-authlogic-2-1-4-or-2-1-3/189124 "2010-05-25T02:59:48Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jeffrey\_LSTaylor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ee7513/32.png) [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Post date:** [May 25, 2010, 2:59am UTC](https://www.ruby-forum.com/t/rails-2-3-6-and-authlogic-2-1-4-or-2-1-3/189124/1 "2010-05-25T02:59:48Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Jeffrey\_LSTaylor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ee7513/32.png) [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Post date:** [May 25, 2010, 10:22am UTC](https://www.ruby-forum.com/t/rails-2-3-6-and-authlogic-2-1-4-or-2-1-3/189124/2 "2010-05-25T10:22:56Z")

</div>

Fixed in 2.3.8

Quoting Jeffrey L. Taylor [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):

---

<div class="post-metadata">

**Author:** ![Jeffrey\_LSTaylor](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/ee7513/32.png) [@Jeffrey\_LSTaylor](https://www.ruby-forum.com/u/Jeffrey_LSTaylor)\
**Post date:** [May 25, 2010, 1:56pm UTC](https://www.ruby-forum.com/t/rails-2-3-6-and-authlogic-2-1-4-or-2-1-3/189124/3 "2010-05-25T13:56:00Z")

</div>

Oops, spoke too soon. I was switching the wrong application and  
testing.  
Problme/bug still exists.

Jeffrey

Quoting Jeffrey L. Taylor [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid):
