Sha256: 9af1fae97616181f8800c6fc3e00ce9b206fc3d667d38b3c85bc182c682b6fb3

Contents?: true

Size: 247 Bytes

Versions: 1

Compression:

Stored size: 247 Bytes

Contents

require 'authlogic'
class User < ActiveRecord::Base
  acts_as_authentic
  
  validates_presence_of :email
  
  def deliver_password_reset_instructions!
    reset_perishable_token!
    Postman.deliver_password_reset_instructions(self)
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
base_rails_app-0.0.1 lib/app/models/user.rb