I am using rails 3 with gem devise.Devise has built in method for change password.But i want
that admin can reset password of any user and how i can do it please help..
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can define custom method and also define routes for it
In controller code
In controller find user and update its password attribute.I am sending user id with form
whose password is to changed or you can do it according your requirement.