Skip to content

Inline active_record_migration_class#187

Merged
teoljungberg merged 2 commits intomasterfrom
one-ar-migration-class
Dec 15, 2025
Merged

Inline active_record_migration_class#187
teoljungberg merged 2 commits intomasterfrom
one-ar-migration-class

Conversation

@teoljungberg
Copy link
Owner

  • Rails 7.2 is the minimum supported version
  • ActiveRecord::Migration.current_version was added in Rails 5.0
  • The respond_to? check and fallback to plain
    ActiveRecord::Migration is dead code

@seuros
Copy link

seuros commented Dec 11, 2025

Cool, i was just going to open a PR with this change.

@teoljungberg teoljungberg merged commit c24bb5f into master Dec 15, 2025
9 checks passed
@teoljungberg teoljungberg deleted the one-ar-migration-class branch December 15, 2025 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants