Sha256: 34a33e6380f3672f4e5dae68bb8f1bf9f541c84b029c949c51c3f1349750930b

Contents?: true

Size: 772 Bytes

Versions: 15

Compression:

Stored size: 772 Bytes

Contents

require 'shared_admin'

class Admin
  include Mongoid::Document
  include Shim
  include SharedAdmin

  ## Database authenticatable
  field :email,              :type => String, :null => true
  field :encrypted_password, :type => String, :null => true

  ## Recoverable
  field :reset_password_token,   :type => String
  field :reset_password_sent_at, :type => Time

  ## Rememberable
  field :remember_created_at, :type => Time

  ## Confirmable
  field :confirmation_token,   :type => String
  field :confirmed_at,         :type => Time
  field :confirmation_sent_at, :type => Time
  field :unconfirmed_email,    :type => String # Only if using reconfirmable

  ## Encryptable
  field :password_salt, :type => String

  ## Lockable
  field :locked_at, :type => Time
end

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
devise-2.0.6 test/rails_app/app/mongoid/admin.rb
devise-2.0.5 test/rails_app/app/mongoid/admin.rb
sunrise-cms-0.3.3 vendor/bundle/ruby/1.9.1/gems/devise-2.0.4/test/rails_app/app/mongoid/admin.rb
sunrise-cms-0.3.2 vendor/bundle/ruby/1.9.1/gems/devise-2.0.4/test/rails_app/app/mongoid/admin.rb
sunrise-cms-0.3.1 vendor/bundle/ruby/1.9.1/gems/devise-2.0.4/test/rails_app/app/mongoid/admin.rb
sunrise-cms-0.3.0 vendor/bundle/ruby/1.9.1/gems/devise-2.0.4/test/rails_app/app/mongoid/admin.rb
sunrise-cms-0.3.0.rc vendor/bundle/ruby/1.9.1/gems/devise-2.0.4/test/rails_app/app/mongoid/admin.rb
upstream-devise-2.1.0.rc test/rails_app/app/mongoid/admin.rb
devise-2.1.0.rc test/rails_app/app/mongoid/admin.rb
devise-2.0.4 test/rails_app/app/mongoid/admin.rb
devise-2.0.2 test/rails_app/app/mongoid/admin.rb
devise-2.0.1 test/rails_app/app/mongoid/admin.rb
devise-2.0.0 test/rails_app/app/mongoid/admin.rb
devise-2.0.0.rc2 test/rails_app/app/mongoid/admin.rb
devise-2.0.0.rc test/rails_app/app/mongoid/admin.rb