Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

:authenticatable as module is deprecated so the model generator shoul…

…d use :database_authenticatable
  • Loading branch information...
commit 0609a5e19277d9a055bfa85464e8ab25c3592074 1 parent 201cfa9
@hardbap hardbap authored josevalim committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  generators/devise/templates/model.rb
2  generators/devise/templates/model.rb
@@ -1,7 +1,7 @@
class <%= class_name %> < ActiveRecord::Base
# Include default devise modules. Others available are:
# :http_authenticatable, :token_authenticatable, :confirmable, :lockable, :timeoutable and :activatable
- devise :registerable, :authenticatable, :recoverable,
+ devise :registerable, :database_authenticatable, :recoverable,
:rememberable, :trackable, :validatable
# Setup accessible (or protected) attributes for your model
Please sign in to comment.
Something went wrong with that request. Please try again.