last_login_at not working (null) w/ Authlogic Magic Columns...

Posted by bgadoci on Stack Overflow See other posts from Stack Overflow or by bgadoci
Published on 2010-05-27T01:31:16Z Indexed on 2010/05/27 1:41 UTC
Read the original article Hit count: 237

I am using the Authlogicgem for authentication and most of it seems to be working great. Authlogic provides several columns that you can add to your Users table (for example) that it knows to fill in if they are present. i.e. login_count, current_login_ip, last_request_at and last_login_at.

All seem to be working fine with the exception of the last_login_at field which is null for each user.

Is there anything specific that could be causing this perhaps having to do with the user sessions, etc? I can post code if needed but wasn't sure what would relate to this.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about ruby