Sha256: 9498dd32adf7ec3036cfadba53858725a7aeecec9bc96daa3df2a3766dfaf487

Contents?: true

Size: 287 Bytes

Versions: 25

Compression:

Stored size: 287 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

  def to_s
    email
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
effective_orders-3.0.0 spec/dummy/app/models/user.rb
effective_orders-2.2.4 spec/dummy/app/models/user.rb
effective_orders-2.2.3 spec/dummy/app/models/user.rb
effective_orders-2.2.2 spec/dummy/app/models/user.rb
effective_orders-2.2.1 spec/dummy/app/models/user.rb
effective_orders-2.2.0 spec/dummy/app/models/user.rb
effective_orders-2.1.17 spec/dummy/app/models/user.rb
effective_orders-2.1.16 spec/dummy/app/models/user.rb
effective_orders-2.1.15 spec/dummy/app/models/user.rb
effective_orders-2.1.14 spec/dummy/app/models/user.rb
effective_orders-2.1.13 spec/dummy/app/models/user.rb
effective_orders-2.1.12 spec/dummy/app/models/user.rb
effective_orders-2.1.10 spec/dummy/app/models/user.rb
effective_orders-2.1.9 spec/dummy/app/models/user.rb
effective_orders-2.1.8 spec/dummy/app/models/user.rb
effective_orders-2.1.7 spec/dummy/app/models/user.rb
effective_orders-2.1.6 spec/dummy/app/models/user.rb
effective_orders-2.1.5 spec/dummy/app/models/user.rb
effective_orders-2.1.4 spec/dummy/app/models/user.rb
effective_orders-2.1.3 spec/dummy/app/models/user.rb