Skip to content

Conversation

@seanpdoyle
Copy link
Contributor

Prior to this commit, singleton resources were unable to invoke reload to re-fetch themselves and load new data.

To resolve that issue, this commit introduces a protected Base#find_self method that can be overridden by the Singleton#find_self version.

Prior to this commit, singleton resources were unable to invoke `reload`
to re-fetch themselves and load new data.

To resolve that issue, this commit introduces a protected
`Base#find_self` method that can be overridden by the
`Singleton#find_self` version.
@rafaelfranca rafaelfranca merged commit b7728b1 into rails:main Oct 27, 2025
19 checks passed
@seanpdoyle seanpdoyle deleted the singleton-reload branch October 27, 2025 21:43
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