Class: Audited::Generators::UpgradeGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Audited::Generators::UpgradeGenerator
- Extended by:
- Migration
- Includes:
- MigrationHelper, Rails::Generators::Migration
- Defined in:
- lib/generators/audited/upgrade_generator.rb
Instance Method Summary collapse
Methods included from Migration
Methods included from MigrationHelper
Instance Method Details
#copy_templates ⇒ Object
19 20 21 22 23 |
# File 'lib/generators/audited/upgrade_generator.rb', line 19 def copy_templates migrations_to_be_applied do |m| migration_template "#{m}.rb", "db/migrate/#{m}.rb" end end |