Skip to content

Fix migration check method call arguments#11388

Merged
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/fix-migration-check
Oct 23, 2024
Merged

Fix migration check method call arguments#11388
mitchellhenke merged 1 commit intomainfrom
mitchellhenke/fix-migration-check

Conversation

@mitchellhenke
Copy link
Contributor

🛠 Summary of changes

#11357 updated a deprecated method, but it no longer takes arguments. This addresses it by removing the argument.

Error:

ArgumentError: wrong number of arguments (given 1, expected 0) (ArgumentError)

Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, worth adding a spec that calls this rake task?

changelog: Bug Fixes, Database, Fix migration check method call arguments
@mitchellhenke mitchellhenke force-pushed the mitchellhenke/fix-migration-check branch from 81cd81d to 2661d05 Compare October 23, 2024 17:31
@mitchellhenke
Copy link
Contributor Author

mitchellhenke commented Oct 23, 2024

LGTM, worth adding a spec that calls this rake task?

Yep, just added

Edit: and confirmed it also fails as expected without the change

@mitchellhenke mitchellhenke merged commit 7d2586c into main Oct 23, 2024
@mitchellhenke mitchellhenke deleted the mitchellhenke/fix-migration-check branch October 23, 2024 17:50
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.

3 participants