Sha256: 193cf86c6a52dd7f827e3a2bb2a89556f133efaa813b1393d102975847975f31

Contents?: true

Size: 881 Bytes

Versions: 64

Compression:

Stored size: 881 Bytes

Contents

class User < ActiveRecord::Base
  devise :database_authenticatable, :registerable, :rememberable, :recoverable, :trackable, :validatable, :authentication_keys => [:email]

  acts_as_addressable :billing, :shipping

  attr_accessor :first_name, :last_name

  structure do
    # Devise attributes
    encrypted_password      :string, :validates => [:presence]
    reset_password_token    :string
    reset_password_sent_at  :datetime
    remember_created_at     :datetime
    confirmation_sent_at    :datetime
    confirmed_at            :datetime
    confirmation_token      :string
    unconfirmed_email       :string
    sign_in_count           :integer, :default => 0
    current_sign_in_at      :datetime
    last_sign_in_at         :datetime
    current_sign_in_ip      :string
    last_sign_in_ip         :string

    email                   :string

    timestamps
  end
end

Version data entries

64 entries across 64 versions & 1 rubygems

Version Path
effective_orders-1.8.1 spec/dummy/app/models/user.rb
effective_orders-1.8.0 spec/dummy/app/models/user.rb
effective_orders-1.7.5 spec/dummy/app/models/user.rb
effective_orders-1.7.4 spec/dummy/app/models/user.rb
effective_orders-1.7.3 spec/dummy/app/models/user.rb
effective_orders-1.7.2 spec/dummy/app/models/user.rb
effective_orders-1.7.1 spec/dummy/app/models/user.rb
effective_orders-1.7.0 spec/dummy/app/models/user.rb
effective_orders-1.6.6 spec/dummy/app/models/user.rb
effective_orders-1.6.5 spec/dummy/app/models/user.rb
effective_orders-1.6.4 spec/dummy/app/models/user.rb
effective_orders-1.6.3 spec/dummy/app/models/user.rb
effective_orders-1.6.1 spec/dummy/app/models/user.rb
effective_orders-1.6.0 spec/dummy/app/models/user.rb
effective_orders-1.5.9 spec/dummy/app/models/user.rb
effective_orders-1.5.8 spec/dummy/app/models/user.rb
effective_orders-1.5.7 spec/dummy/app/models/user.rb
effective_orders-1.5.5 spec/dummy/app/models/user.rb
effective_orders-1.5.4 spec/dummy/app/models/user.rb
effective_orders-1.5.3 spec/dummy/app/models/user.rb