Class: PaperTrail::UpdateItemSubtypeGenerator
- Inherits:
-
MigrationGenerator
- Object
- Rails::Generators::Base
- MigrationGenerator
- PaperTrail::UpdateItemSubtypeGenerator
- Defined in:
- lib/generators/paper_trail/update_item_subtype/update_item_subtype_generator.rb
Overview
Updates STI entries for PaperTrail
Instance Method Summary collapse
Methods inherited from MigrationGenerator
Instance Method Details
#create_migration_file ⇒ Object
13 14 15 |
# File 'lib/generators/paper_trail/update_item_subtype/update_item_subtype_generator.rb', line 13 def create_migration_file add_paper_trail_migration("update_versions_for_item_subtype", sti_type_options: ) end |