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

Support double-yield inside an around callback #27368

Merged
merged 1 commit into from Dec 16, 2016

Conversation

matthewd
Copy link
Member

It's questionable whether this is a good thing -- it forces any later/inner callback to handle multiple invocations, along with the actual wrapped action. But it worked prior to 871ca21 / #26147, so we shouldn't break it unintentionally.

It's questionable whether this is a good thing -- it forces any later/
inner callback to handle multiple invocations, along with the actual
wrapped action. But it worked prior to 871ca21,
so we shouldn't break it unintentionally.
@matthewd matthewd self-assigned this Dec 15, 2016
@matthewd matthewd merged commit a47efcf into rails:master Dec 16, 2016
@matthewd matthewd deleted the doubled-callbacks branch June 11, 2017 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants