class CarrierwaveBackgrounder::Generators::InstallGenerator

Public Instance Methods

copy_config() click to toggle source
# File lib/generators/carrierwave_backgrounder/install_generator.rb, line 6
def copy_config
  template "config/initializers/carrierwave_backgrounder.rb"
end
info_config() click to toggle source
# File lib/generators/carrierwave_backgrounder/install_generator.rb, line 10
      def info_config
        puts <<-EOF

        \e[33mBy default :delayed_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