Sha256: d5568fad6cfe3edb6ed578f74e5dea877d9bff5261fd3b75a627fb9e940ee997

Contents?: true

Size: 354 Bytes

Versions: 1

Compression:

Stored size: 354 Bytes

Contents

class User < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable

  def devise_user_manager?
    self.email == 'devise_users_tester@example.com'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
devise_users-0.0.1 spec/dummy/app/models/user.rb