Sha256: adb3b697023ad1d16f5c46348e4f8b354944565019e7d773cafbbce39c4e7372

Contents?: true

Size: 370 Bytes

Versions: 4

Compression:

Stored size: 370 Bytes

Contents

class <%= class_name %> < ActiveRecord::Base
  # Include default devise modules.
  # Others available are :lockable, :timeoutable and :activatable.
  devise :authenticatable, :confirmable, :recoverable, :rememberable, :trackable, :validatable

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
devise-1.0.0 generators/devise/templates/model.rb
devise-0.9.2 generators/devise/templates/model.rb
devise-0.9.1 generators/devise/templates/model.rb
devise-0.9.0 generators/devise/templates/model.rb