Sha256: bbfd5be9ecea159a0b9bc4d6b1f3619bf98df9b2d2a15913aa73d49a6c83489c

Contents?: true

Size: 1.37 KB

Versions: 14

Compression:

Stored size: 1.37 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
  acts_as_muck_user

  # 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

14 entries across 14 versions & 1 rubygems

Version Path
muck-users-0.3.14 test/rails_root/app/models/user.rb
muck-users-0.3.13 test/rails_root/app/models/user.rb
muck-users-0.3.12 test/rails_root/app/models/user.rb
muck-users-0.3.11 test/rails_root/app/models/user.rb
muck-users-0.3.10 test/rails_root/app/models/user.rb
muck-users-0.3.9 test/rails_root/app/models/user.rb
muck-users-0.3.8 test/rails_root/app/models/user.rb
muck-users-0.3.7 test/rails_root/app/models/user.rb
muck-users-0.3.6 test/rails_root/app/models/user.rb
muck-users-0.3.4 test/rails_root/app/models/user.rb
muck-users-0.3.3 test/rails_root/app/models/user.rb
muck-users-0.3.2 test/rails_root/app/models/user.rb
muck-users-0.3.1 test/rails_root/app/models/user.rb
muck-users-0.3.0 test/rails_root/app/models/user.rb