Class: DelayedJob::ActiveRecordGenerator

Inherits:
DelayedJobGenerator
  • Object
show all
Extended by:
ActiveRecord::Generators::Migration
Includes:
Rails::Generators::Migration
Defined in:
lib/generators/delayed_job/active_record_generator.rb

Instance Method Summary collapse

Instance Method Details

#create_migration_fileObject



13
14
15
# File 'lib/generators/delayed_job/active_record_generator.rb', line 13

def create_migration_file
  migration_template 'migration.rb', 'db/migrate/create_delayed_jobs.rb'
end