Sha256: f2e60044a7f435eddb52062d84b5b673e12b4c5bd8502c685c99dbaab8ffda46

Contents?: true

Size: 296 Bytes

Versions: 11

Compression:

Stored size: 296 Bytes

Contents

class User < ActiveRecord::Base
  # Include default devise modules. Others available are:
  # :confirmable, :lockable, :timeoutable and :omniauthable
  devise :database_authenticatable, :registerable,
         :recoverable, :rememberable, :trackable, :validatable

  def name
    email
  end
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
dorsale-2.1.10 spec/dummy/app/models/user.rb
dorsale-2.1.9 spec/dummy/app/models/user.rb
dorsale-2.1.8 spec/dummy/app/models/user.rb
dorsale-2.1.7 spec/dummy/app/models/user.rb
dorsale-2.1.6 spec/dummy/app/models/user.rb
dorsale-2.1.5 spec/dummy/app/models/user.rb
dorsale-2.1.4 spec/dummy/app/models/user.rb
dorsale-2.1.3 spec/dummy/app/models/user.rb
dorsale-2.1.2 spec/dummy/app/models/user.rb
dorsale-2.1.1 spec/dummy/app/models/user.rb
dorsale-2.1.0 spec/dummy/app/models/user.rb