Sha256: 40d614a5f533c109aae6b800b46d092569da1ab40bb402133c6e337ed5aa8e71

Contents?: true

Size: 702 Bytes

Versions: 38

Compression:

Stored size: 702 Bytes

Contents

require 'shared_admin'

class Admin
  include Mongoid::Document
  include Shim
  include SharedAdmin

  ## Database authenticatable
  field :email,              type: String
  field :encrypted_password, type: String

  ## 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

  ## Lockable
  field :locked_at, type: Time

  field :active, type: Boolean, default: false
end

Version data entries

38 entries across 38 versions & 8 rubygems

Version Path
devise-4.3.0 test/rails_app/app/mongoid/admin.rb
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/devise-4.2.1/test/rails_app/app/mongoid/admin.rb
devise-4.2.1 test/rails_app/app/mongoid/admin.rb
devise_openid_authenticatable-1.3.0 rails/app/mongoid/admin.rb
devise-4.2.0 test/rails_app/app/mongoid/admin.rb
devise-3.5.10 test/rails_app/app/mongoid/admin.rb
devise-4.0.3 test/rails_app/app/mongoid/admin.rb
devise-4.1.1 test/rails_app/app/mongoid/admin.rb
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/devise-4.1.0/test/rails_app/app/mongoid/admin.rb
devise-4.1.0 test/rails_app/app/mongoid/admin.rb
devise-3.5.9 test/rails_app/app/mongoid/admin.rb
devise-4.0.2 test/rails_app/app/mongoid/admin.rb
devise-4.0.1 test/rails_app/app/mongoid/admin.rb
devise-3.5.8 test/rails_app/app/mongoid/admin.rb
devise-3.5.7 test/rails_app/app/mongoid/admin.rb
devise-4.0.0 test/rails_app/app/mongoid/admin.rb
devise-4.0.0.rc2 test/rails_app/app/mongoid/admin.rb
devise-4.0.0.rc1 test/rails_app/app/mongoid/admin.rb
devise-3.5.6 test/rails_app/app/mongoid/admin.rb
devise-3.5.5 test/rails_app/app/mongoid/admin.rb