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