Class: Devise::Generators::CustomizeGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Devise::Generators::CustomizeGenerator
- Includes:
- Cream::GeneratorHelper
- Defined in:
- lib/generators/devise/customize/customize_generator.rb
Instance Method Summary collapse
Methods included from Cream::GeneratorHelper
#add_logger, #debug!, included, #info!, #logit!
Instance Method Details
#main_flow ⇒ Object
24 25 26 27 28 29 |
# File 'lib/generators/devise/customize/customize_generator.rb', line 24 def main_flow logit! debug! 'customizing devise...' Devise::Customizers::UserName.new(orm, user_class, login_attribute).add_to_user_class if add_user_name? end |