Sha256: 35a5ccb738731cbcd9b4a11db01b6d085ad4b884248422b426ee2439ef74bdc4

Contents?: true

Size: 626 Bytes

Versions: 4

Compression:

Stored size: 626 Bytes

Contents

class User
  include Mongoid::Document

  devise :database_authenticatable,
         :registerable,
         :recoverable,
         :trackable,
         :validatable,
         :token_authenticatable

  has_many :authentication_tokens

  field :email, type: String, default: ''
  field :encrypted_password, type: String, default: ''
  field :reset_password_token, type: String
  field :reset_password_sent_at, type: Time
  field :sign_in_count, type: Integer, default: 0
  field :current_sign_in_at, type: Time
  field :last_sign_in_at, type: Time
  field :current_sign_in_ip, type: String
  field :nick_name, type: String
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tiddle-1.8.1 spec/rails_app_mongoid/app/models/user.rb
tiddle-1.8.0 spec/rails_app_mongoid/app/models/user.rb
tiddle-1.7.1 spec/rails_app_mongoid/app/models/user.rb
tiddle-1.7.0 spec/rails_app_mongoid/app/models/user.rb