Is it possible to check whether whatever is inputted in the :password field is not the same as the :current_password field in the model?
Something like
validates :current_password, :format => { :with => :password, :message => "Current password can't be the same as the password" }
Which does not work what is the right way of writing it?
First, I hope you don’t store your password as plain-text!
And secondly a custom validation will work for you:
Edit: