Sha256: ae0b872eb2dc70a82c393baf1dcacef1ced03a6ce37b16240b021322da803dfb

Contents?: true

Size: 307 Bytes

Versions: 5

Compression:

Stored size: 307 Bytes

Contents

module ActiveApplication
  class User < ActiveRecord::Base
    attr_accessible :email, :password, :password_confirmation, :remember_me

    devise :database_authenticatable, :registerable, :confirmable,
      :recoverable, :rememberable, :trackable, :validatable

    def to_s
      email
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
active_application-0.3.1 app/models/active_application/user.rb
active_application-0.3.0 app/models/active_application/user.rb
active_application-0.2.0 app/models/active_application/user.rb
active_application-0.1.0 app/models/active_application/user.rb
active_application-0.0.1 app/models/active_application/user.rb