I have used the gem devise for login logout sign up edit profile, but i want to delete the change password option from edit profile as after saving it is asking enter current password to save the changes.
Asked
Active
Viewed 132 times
0
-
`@user.update_attributes(password: params[:user][:password])` write this in in application controller where you config update params – uzaif Apr 19 '16 at 23:36
-
You can check this answer, I think it is the same. http://stackoverflow.com/questions/5113248/devise-update-user-without-password – Jeffrey M Castro Apr 20 '16 at 00:57