Class: Transactio::InstallGenerator
- Inherits:
-
MigrationGenerator
- Object
- Rails::Generators::Base
- MigrationGenerator
- Transactio::InstallGenerator
- Defined in:
- lib/generators/transactio/install/install_generator.rb
Overview
Installs PaperTrail in a rails app.
Instance Method Summary collapse
Methods inherited from MigrationGenerator
Instance Method Details
#create_migration_file ⇒ Object
10 11 12 13 14 15 |
# File 'lib/generators/transactio/install/install_generator.rb', line 10 def create_migration_file add_transactio_migration( 'create_transactio' ) # add_paper_trail_migration('add_object_changes_to_versions') if options.with_changes? end |