Sha256: e0b7d1454df13aabfcf549ec24afcd66de0540185cd39f149d1571ac4cd66ade

Contents?: true

Size: 441 Bytes

Versions: 9

Compression:

Stored size: 441 Bytes

Contents

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

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

Version data entries

9 entries across 9 versions & 3 rubygems

Version Path
mongoid-devise-1.0.1 generators/devise/templates/model.rb
devise-1.0.6 generators/devise/templates/model.rb
devise-1.0.5 generators/devise/templates/model.rb
devise-1.0.4 generators/devise/templates/model.rb
devise-1.0.3 generators/devise/templates/model.rb
glennr-devise-1.0.1.1 generators/devise/templates/model.rb
glennr-devise-1.0.1 generators/devise/templates/model.rb
devise-1.0.2 generators/devise/templates/model.rb
devise-1.0.1 generators/devise/templates/model.rb