Sha256: a69e35d6f8c6fe86abcc87066df20177711637ea229d12a1d15f2e6e93cf1661

Contents?: true

Size: 450 Bytes

Versions: 7

Compression:

Stored size: 450 Bytes

Contents

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

  # Setup accessible (or protected) attributes for your model
  attr_accessible :name, :email, :password, :password_confirmation, :remember_me
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
tft_rails_dbc-0.1.3 lib/generators/chapter07/begin/templates/app/models/user.rb
tft_rails_dbc-0.1.1 lib/generators/chapter07/begin/templates/app/models/user.rb
tft_rails_dbc-0.1 lib/generators/chapter07/begin/templates/app/models/user.rb
tft_rails-0.6.2 lib/generators/chapter07/begin/templates/app/models/user.rb
tft_rails-0.6.1 lib/generators/chapter07/begin/templates/app/models/user.rb
tft_rails-0.6.0 lib/generators/chapter07/begin/templates/app/models/user.rb
tft_rails-0.5.1 lib/generators/chapter07/begin/templates/app/models/user.rb