Class: AuditTrail::Generators::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#copy_migrationsObject



13
14
15
# File 'lib/generators/audit_trail/install_generator.rb', line 13

def copy_migrations
  migration_template "migration.rb", "db/migrate/create_audit_trail"
end