ruby - Devise password reset from Rails console - Stack Overflow
ruby - Devise password reset from Rails console - Stack Overflow: "# thenuser = User.where(:email => email).first
if user
user.password = new_password
user.password_confirmation = new_password
user.save
end"
'via Blog this'
