Class: Batchy::ActiveRecordGenerator
- Inherits:
-
ActiveRecord::Generators::Base
- Object
- ActiveRecord::Generators::Base
- Batchy::ActiveRecordGenerator
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/batchy/active_record_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_migration_file ⇒ Object
11 12 13 |
# File 'lib/generators/batchy/active_record_generator.rb', line 11 def create_migration_file migration_template 'migration.rb', 'db/migrate/create_batchy_batches.rb' end |