Skip to content

Commit

Permalink
Fixed issue with Active Record 8 rc2 - fixes #282 and closes #283
Browse files Browse the repository at this point in the history
  • Loading branch information
ankane committed Oct 30, 2024
1 parent d08cb5e commit bf9dc55
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.0.2 (unreleased)

- Fixed issue with Active Record 8 rc2

## 2.0.1 (2024-10-14)

- Fixed issue with `alphabetize_schema` and virtual columns
Expand Down
3 changes: 1 addition & 2 deletions lib/strong_migrations/database_tasks.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
module StrongMigrations
module DatabaseTasks
# Active Record 7 adds version argument
def migrate(*args)
def migrate(...)
super
rescue => e
if e.cause.is_a?(StrongMigrations::Error)
Expand Down

0 comments on commit bf9dc55

Please sign in to comment.