title: undefined method for Devise "send_reset_password_instructions"
body: <p>Did three things:</p>
  
  <p>made sure Devise integrated in "routes.rb"</p>
  
  <pre><code>devise_for :accesses
  </code></pre>
  
  <p>Integrated Devise in model "access.rb"</p>
  
  <pre><code>class Access &lt; ActiveRecord::Base
    include UUIDHelper
  
    # Include default devise modules. Others available are:
    # :confirmable, :lockable, :timeoutable and :omniauthable
    devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable
  
    belongs_to :verification
    belongs_to :actor, autosave: true
  
    validates_presence_of :username
    validates :username, uniqueness: true
    validates_length_of :username, maximum: 64
    validates_length_of :username, minimum: 3
  
    # Returns the hash digest of the given string. Used for SEEDS FILE
    def Access.digest(string)
      cost = ActiveModel::SecurePassword.min_cost ? BCrypt::Engine::MIN_COST :
          BCrypt::Engine.cost
      BCrypt::Password.create(string, cost: cost)
    end
  end
  </code></pre>
  
  <p>the command for resetting password in "access_controller.rb"</p>
  
  <pre><code>  def recoverAccount
      myAccess = Access.find_by email: params[:access][:email]
      myAccess.send_reset_password_instructions
    end
  </code></pre>
  
  <p>"send_reset_password_instructions" and other methods from Devise throws an undefined method; what did I do wrong? what did I miss?</p>
  
  <p>EDIT:</p>
  
  <p>I just figured out something new; #before_filter :authenticate_user! Does not work; I followed through proper installation but I dont know why it doesnt work.</p>