I'm trying to setup client_side_validations for the password field in devise. One of my validations is presence of a password. The problem is in the edit form, the :password field is for the new password, which I want to allow to be blank in the case when the user is not trying to change his password.
I set up my own validations in the user model so that I could use the client_side_validations in the sign_up form. But they're interfering with the edit form.
Any suggestions on how I should proceed?