title: How to check that old password is equal to that one in database
body: <p>I want to make a change password in rails i want to enter the old password as a string and check it with the encrypted one in the database i am using Devise gem how can i do this </p>