method

current_migration

rails latest stable - Class: ActiveRecord::InvalidMigrationTimestampError::Migrator

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

current_migration()
public

No documentation available.

# File activerecord/lib/active_record/migration.rb, line 1442
    def current_migration
      migrations.detect { |m| m.version == current_version }
    end