Sha256: b38bddf8382548c03a19da4f03160221d0e59438bfa072a3459323216fbdeda9

Contents?: true

Size: 1.39 KB

Versions: 15

Compression:

Stored size: 1.39 KB

Contents

# == Schema Information
#
# Table name: users
#
#  id                  :integer(4)      not null, primary key
#  login               :string(255)
#  email               :string(255)
#  first_name          :string(255)
#  last_name           :string(255)
#  crypted_password    :string(255)
#  password_salt       :string(255)
#  persistence_token   :string(255)     not null
#  single_access_token :string(255)     not null
#  perishable_token    :string(255)     not null
#  login_count         :integer(4)      default(0), not null
#  failed_login_count  :integer(4)      default(0), not null
#  last_request_at     :datetime
#  current_login_at    :datetime
#  last_login_at       :datetime
#  current_login_ip    :string(255)
#  last_login_ip       :string(255)
#  terms_of_service    :boolean(1)      not null
#  time_zone           :string(255)     default("UTC")
#  disabled_at         :datetime
#  created_at          :datetime
#  activated_at        :datetime
#  updated_at          :datetime
#  identity_url        :string(255)
#  url_key             :string(255)
#  beta_code_id        :integer(4)
#

class User < ActiveRecord::Base
  acts_as_authentic do |c|
    c.crypto_provider = Authlogic::CryptoProviders::BCrypt
  end
  include MuckUsers::Models::MuckUser
  
  # these are just for testing
  def creator_id
    self.id
  end

  def user_id
    self.id
  end

  def shared_by_id
    self.id
  end
  
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
muck-users-3.2.12 test/app/models/user.rb
muck-users-3.2.11 test/app/models/user.rb
muck-users-3.2.10 test/app/models/user.rb
muck-users-3.2.9 test/app/models/user.rb
muck-users-3.2.8 test/app/models/user.rb
muck-users-3.2.7 test/app/models/user.rb
muck-users-3.1.0 test/app/models/user.rb
muck-users-3.0.9 test/rails_test/app/models/user.rb
muck-users-3.0.8 test/rails_test/app/models/user.rb
muck-users-3.0.7 test/rails_test/app/models/user.rb
muck-users-3.0.6 test/rails_test/app/models/user.rb
muck-users-3.0.5 test/rails_test/app/models/user.rb
muck-users-3.0.4 test/rails_test/app/models/user.rb
muck-users-3.0.2 test/rails_test/app/models/user.rb
muck-users-3.0.1 test/rails_test/app/models/user.rb