On 7 Nov 2008, at 22:57, Margareth Florián wrote:

> hi every body....
>
> I need help..
> I have the following code in a user model. But when i try to  
> autenticate an user always returns nil, my session controller calls  
> the autenticate method. I proves comparing only the database  
> password with new encrypted password but always returns nil. The  
> database password was encryted with the same encrypt method. I dont  
> know what i need to do.
> TNKS a lot..

"When you have excluded the impossible, whatever remains, however  
improbable, must be the truth.". How are you creating/saving users?
Fred



--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to