Class: RecordHistory::InstallGenerator

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

Instance Method Summary collapse

Instance Method Details

#create_migration_fileObject



14
15
16
# File 'lib/generators/record_history/install_generator.rb', line 14

def create_migration_file
  migration_template 'create_record_histories.rb', 'db/migrate/create_record_histories.rb'
end