Class: Devise::Generators::ConfigGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Extended by:
RailsAssist::UseMacro
Includes:
Cream::GeneratorHelper, DeviseConfigGenerator::AppHelper, DeviseConfigGenerator::GemHelper
Defined in:
lib/generators/devise/config/config_generator.rb

Instance Method Summary collapse

Methods included from DeviseConfigGenerator::GemHelper

#configure_gems_active_record, #configure_gems_couch_db, #configure_gems_data_mapper, #configure_gems_mongo_mapper, #configure_gems_mongoid, #devise_mongoid_setup, #gems_mongo_db

Methods included from DeviseConfigGenerator::AppHelper

#mailer_configure!, #orm_configure!

Methods included from Cream::GeneratorHelper

#add_logger, #debug!, included, #info!, #logit!

Instance Method Details

#configure_deviseObject



23
24
25
26
27
28
29
30
# File 'lib/generators/devise/config/config_generator.rb', line 23

def configure_devise
	logit!
	devise_gems if gems?      	  
	say "WARNING: Not configuring devise gems for #{orm}", :yellow if !gems?
   
devise_install 
configure_devise!
end