I am trying to recover a user password using devise, but it generates the following error:
undefined method `reset_password_sent_at=' for #<User:0x007fb78cfafb68>
Can someone help me with this since I'm new to Ruby on Rails?
What is the best way to recover a password and send an email to a user using Devise? Thank you very much.
I am using the application (2.2.3)
User.rb
require 'digest/md5' class User < ActiveRecord::Base
SOLUTION add reset_password_sent_at column to user table
source share