The authlogic rails attribute makes LOWER in the sql query.
SELECT * FROM `users` WHERE (LOWER(`users`.email) = 'test@example.com') LIMIT 1
I want to get rid of the LOWER part, as it seems to slow down the request a bit. I would prefer to simply reduce the case in the code, as this request seems expensive.
I am not sure where to change this behavior in authlogic.
Thank!
source
share