Class: DelayedJobGenerator
- Inherits:
-
Rails::Generator::Base
- Object
- Rails::Generator::Base
- DelayedJobGenerator
- Defined in:
- lib/vendor/plugins/delayed_job/generators/delayed_job/delayed_job_generator.rb
Instance Method Summary collapse
Instance Method Details
#manifest ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/vendor/plugins/delayed_job/generators/delayed_job/delayed_job_generator.rb', line 4 def manifest record do |m| m.template 'script', 'script/delayed_job', :chmod => 0755 unless [:skip_migration] m.migration_template "migration.rb", 'db/migrate', :migration_file_name => "create_delayed_jobs" end end end |