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

actionpack: Do not redefine ActionController::Base.rescue_from #438

Closed

Conversation

tk0miya
Copy link
Contributor

@tk0miya tk0miya commented Sep 30, 2023

.rescue_from method is defined in ActiveSupport::Rescuable::ClassMethods. Therefore it would be better to extend it instead of redefinition.

@tk0miya tk0miya requested a review from pocke as a code owner September 30, 2023 13:52
@tk0miya tk0miya force-pushed the fix_mixin_structure_of_actioncontoroller branch 2 times, most recently from e152c45 to ab6b370 Compare September 30, 2023 15:11
`.rescue_from` method is defined in `ActiveSupport::Rescuable::ClassMethods`. Therefore
it would be better to extend it instead of redefinition.
@tk0miya tk0miya force-pushed the fix_mixin_structure_of_actioncontoroller branch from 1fa770c to 501185c Compare October 23, 2023 04:10
@pocke pocke closed this in #462 Oct 28, 2023
@tk0miya tk0miya deleted the fix_mixin_structure_of_actioncontoroller branch October 28, 2023 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant