Ciao a tutti, stavo segundo questo How-To di devise: https://github.com/plataformatec/devise/wiki/How-T... Per permettere all'admin di decidere se approvare gli account prima del login. In fondo al tutorial dice di aggiungere un metodo: def self.send_reset_password_instructions(attributes={}) end al tuo modello User. Il problema e' che apparentemente non sembra avere effetto. In giro per i forum mi sembra di aver capito che e' un errore nel tutorial. Come si risolve la cosa? Dove faccio override del metodo self.send_reset_password_instructions? devise 2.1.2 rails 3.2.8 ruby 1.9.3 Grazie Davide
on 2012-09-06 14:31
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.