[ruby-it] problemi con la "criptazione"
Antonio Cangiano
acangiano a gmail.com
Mar 16 Set 2008 18:36:24 CEST
On Tue, Sep 16, 2008 at 11:45 AM, Alessandro Pischedda <uub a virgilio.it> wrote:
> quando arriva a if @user.save questa fallisce, premetto che la funzione
> hash_password() funziona e restituisce la stringa criptata.
Che validation hai definito nel modello User? Inoca il metodo errors
sull'oggetto @user per verificare cosa c'è che non va.
Ciao,
Antonio
--
http://antoniocangiano.com - Zen and the Art of Programming
http://belifesavvy.com - Be life savvy: Life's missing manual
http://stacktrace.it - Aperiodico di resistenza informatica
Currently writing "Ruby on Rails for Microsoft Developers" for Wrox.
More information about the Ml
mailing list