Class: AcidicJob::Generators::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- AcidicJob::Generators::InstallGenerator
- Includes:
- ActiveRecord::Generators::Migration
- Defined in:
- lib/generators/acidic_job/install_generator.rb
Instance Method Summary collapse
-
#copy_acidic_job_runs_migration_files ⇒ Object
Copies the migration template to db/migrate.
Instance Method Details
#copy_acidic_job_runs_migration_files ⇒ Object
Copies the migration template to db/migrate.
14 15 16 17 18 |
# File 'lib/generators/acidic_job/install_generator.rb', line 14 def copy_acidic_job_runs_migration_files migration_template "create_acidic_job_runs_migration.rb.erb", "db/migrate/create_acidic_job_runs.rb", migration_version: migration_version end |