Class: AcidicJob::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
ActiveRecord::Generators::Migration
Defined in:
lib/generators/acidic_job/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#copy_acidic_job_runs_migration_filesObject

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_tables_migration.rb.erb",
                     "db/migrate/create_acidic_job_tables.rb",
                     migration_version: migration_version
end