Class: GeoblacklightAdmin::JobsGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- GeoblacklightAdmin::JobsGenerator
- Defined in:
- lib/generators/geoblacklight_admin/jobs_generator.rb
Instance Method Summary collapse
Instance Method Details
#config_development_jobs_queue_adapter ⇒ Object
14 15 16 17 18 19 20 |
# File 'lib/generators/geoblacklight_admin/jobs_generator.rb', line 14 def config_development_jobs_queue_adapter job_config = <<-JOBS config.active_job.queue_adapter = :inline JOBS inject_into_file "config/environments/development.rb", job_config, before: /^end/ end |