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-3.5.4 test/rails_app/app/mongoid/admin.rb
devise-3.5.3 test/rails_app/app/mongoid/admin.rb
sc_core-0.0.7 test/dummy/vendor/bundle/ruby/2.2.0/gems/devise-3.5.2/test/rails_app/app/mongoid/admin.rb
devise-3.5.2 test/rails_app/app/mongoid/admin.rb
devise-3.5.1 test/rails_app/app/mongoid/admin.rb
deviseOne-1.0.0 test/rails_app/app/mongoid/admin.rb
devise-3.4.1 test/rails_app/app/mongoid/admin.rb
devise-3.4.0 test/rails_app/app/mongoid/admin.rb
brainsome_devise-3.3.0 test/rails_app/app/mongoid/admin.rb
devise-3.3.0 test/rails_app/app/mongoid/admin.rb
devbootsrap-0.0.7 test/rails_app/app/mongoid/admin.rb
devbootsrap-0.0.6 test/rails_app/app/mongoid/admin.rb
devbootsrap-0.0.5 test/rails_app/app/mongoid/admin.rb
devbootsrap-0.0.4 test/rails_app/app/mongoid/admin.rb
devbootsrap-0.0.3 test/rails_app/app/mongoid/admin.rb
devbootsrap-0.0.2 test/rails_app/app/mongoid/admin.rb
devbootsrap-0.0.1 test/rails_app/app/mongoid/admin.rb
devise-3.2.4 test/rails_app/app/mongoid/admin.rb