Devise raise validations error when new and old passwords are same
![cover: Devise raise validations error when new and old passwords are same](/static/cb8a54a557d41c1fa57fa2362851e88e/d743e/devise-raise-error-when-old-password-is-used.webp)
Letting users to change their password is a very common feature. In this post we will be exploring the solution for raising validations error when they try to change their password but add the same old password again.