Class: Batchy::UpgradeGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Batchy::UpgradeGenerator
- Extended by:
- ActiveRecord::Generators::Migration
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/batchy/upgrade_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_migration_file ⇒ Object
12 13 14 |
# File 'lib/generators/batchy/upgrade_generator.rb', line 12 def create_migration_file migration_template 'upgrade_migration.rb', 'db/migrate/add_backtrace_to_batchy.rb' end |