Class: PaperTrail::MigrationGenerator
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- PaperTrail::MigrationGenerator
- Includes:
- Rails::Generators::Migration
- Defined in:
- lib/generators/paper_trail/migration_generator.rb
Overview
Basic structure to support a generator that builds a migration
Direct Known Subclasses
Class Method Summary collapse
Class Method Details
.next_migration_number(dirname) ⇒ Object
11 12 13 |
# File 'lib/generators/paper_trail/migration_generator.rb', line 11 def self.next_migration_number(dirname) ::ActiveRecord::Generators::Base.next_migration_number(dirname) end |