Class: Audited::Generators::InstallGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Extended by:
Migration
Includes:
MigrationHelper, Rails::Generators::Migration
Defined in:
lib/generators/audited/install_generator.rb

Instance Method Summary collapse

Methods included from Migration

next_migration_number

Methods included from MigrationHelper

#migration_parent

Instance Method Details

#copy_migrationObject



22
23
24
# File 'lib/generators/audited/install_generator.rb', line 22

def copy_migration
  migration_template "install.rb", "db/migrate/install_audited.rb"
end