Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix reloading state machine caches #514

Merged
merged 3 commits into from
Aug 2, 2023
Merged

Conversation

stephenbinns
Copy link
Contributor

Passing true to respond_to? means that private and protected methods are considered, in the subsequent call we make a standard call to the method which will fail if the state_machine has been made private.

See https://github.com/gocardless/payments-service/pull/42438 for a stuck upgrade

Passing true to respond_to? means that private and protected methods are
considered, in the subsequent call we make a standard call to the method
which will fail if the `state_machine` has been made private.
@stephenbinns stephenbinns merged commit 3c70691 into master Aug 2, 2023
@stephenbinns stephenbinns deleted the fix-reloading-cache branch August 2, 2023 10:08
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