Displaying 1 result from an estimated 1 matches for "password_upd".
Did you mean:
password_fd
2007 Oct 24
8
validates_confirmation_of not working
Hello to everyone,
Well, very frustrated with this one because I am following the example
straight from the documentation and it is not working.
First when I try:
validates_confirmation_of :password, :on => :password_update
(password_update is a def in my User model which works fine without
this validation in please)
I get the following error:
TypeError in UsersController#update_password
nil is not a symbol
[Full trace at the end of this message.]
However, if I do only this:
validates_confirmation_of :password...