class GoodJob::InstallGenerator
Rails generator used for setting up GoodJob
in a Rails application. Run it with +bin/rails g good_job:install+ in your console.
Constants
- TEMPLATES
Public Instance Methods
create_migration_file()
click to toggle source
Generates monolithic migration file that contains all database changes.
# File lib/generators/good_job/install_generator.rb 19 def create_migration_file 20 migration_template 'migrations/create_good_jobs.rb.erb', File.join(db_migrate_path, "create_good_jobs.rb") 21 end