Module: Devise::Generators::OrmHelpers
- Defined in:
- lib/generators/devise/orm_helpers.rb
Instance Method Summary collapse
Instance Method Details
#model_contents ⇒ Object
4 5 6 7 8 9 10 11 12 13 |
# File 'lib/generators/devise/orm_helpers.rb', line 4 def model_contents buffer = <<-CONTENT # Include default devise modules. Others available are: # :confirmable, :lockable, :timeoutable and :omniauthable devise :database_authenticatable, :registerable, :recoverable, :rememberable, :trackable, :validatable CONTENT buffer end |