Class: SimpleDataMigrations::InstallGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- SimpleDataMigrations::InstallGenerator
- Includes:
- ActiveRecord::Generators::Migration
- Defined in:
- lib/generators/simple_data_migrations/install_generator.rb
Instance Method Summary collapse
Instance Method Details
#create_migration_file ⇒ Object
12 13 14 |
# File 'lib/generators/simple_data_migrations/install_generator.rb', line 12 def create_migration_file migration_template "install.rb.erb", "db/migrate/create_simple_data_migrations_table.rb" end |