Sha256: 41f9a4c0e53b02abd50bab7f8872dc2cd4d1aee5d505e3d1bf83967cd0ed5c8a

Contents?: true

Size: 1.12 KB

Versions: 5

Compression:

Stored size: 1.12 KB

Contents

# == Schema Information
#
# Table name: mtdevise_users
#
#  id                     :integer          not null, primary key
#  email                  :string(255)
#  password_digest        :string(255)
#  created_at             :datetime
#  updated_at             :datetime
#  encrypted_password     :string(255)      default(""), not null
#  reset_password_token   :string(255)
#  reset_password_sent_at :datetime
#  remember_created_at    :datetime
#  sign_in_count          :integer          default(0), not null
#  current_sign_in_at     :datetime
#  last_sign_in_at        :datetime
#  current_sign_in_ip     :string(255)
#  last_sign_in_ip        :string(255)
#  confirmed_at           :datetime
#  confirmation_token     :string(255)
#  confirmation_sent_at   :datetime
#  unconfirmed_email      :string(255)
#

module Mtdevise
	class User < ::User
		include Gravtastic

		acts_as_token_authenticatable
		gravtastic
		has_many :accounts, :class_name => "Mtdevise::Account", :foreign_key => "owner_id"
		devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable, :confirmable, :omniauthable

	end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
mtdevise-2.5.0 app/models/mtdevise/user.rb
mtdevise-2.0.5 app/models/mtdevise/user.rb
mtdevise-2.0.2 app/models/mtdevise/user.rb
mtdevise-2.0.1 app/models/mtdevise/user.rb
mtdevise-2.0.0b app/models/mtdevise/user.rb