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-2.1.2 spec/dummy/app/models/user.rb
effective_orders-2.1.1 spec/dummy/app/models/user.rb
effective_orders-2.1.0 spec/dummy/app/models/user.rb
effective_orders-2.0.1 spec/dummy/app/models/user.rb
effective_orders-2.0.0 spec/dummy/app/models/user.rb