Class: CarrierwaveBackgrounder::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- CarrierwaveBackgrounder::Generators::InstallGenerator
- Defined in:
- lib/generators/carrierwave_backgrounder/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#copy_config ⇒ Object
6 7 8 |
# File 'lib/generators/carrierwave_backgrounder/install_generator.rb', line 6 def copy_config template "config/initializers/carrierwave_backgrounder.rb" end |
#info_config ⇒ Object
10 11 12 13 14 15 16 17 |
# File 'lib/generators/carrierwave_backgrounder/install_generator.rb', line 10 def info_config puts <<-EOF \e[33mBy default :active_job is used as the backend for carrierwave_backgrounder with :carrierwave as the queue name. To change this, edit config/initializers/carrierwave_backgrounder.rb.\e[0m EOF end |