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

Pass the error instance as the second parameter of block executed by discard_on #32854

Merged
merged 1 commit into from May 12, 2018

Conversation

y-yagi
Copy link
Member

@y-yagi y-yagi commented May 9, 2018

I'm not sure what originally wanted to pass to the argument.
However, as long as see the document added along with the commit, it seems just to be mistaken that trying to pass the error instance.
https://github.com/rails/rails/pull/30622/files#diff-59beb0189c8c6bc862edf7fdb84ff5a7R64

Fixes #32853

…`discard_on`

I'm not sure what originally wanted to pass to the argument.
However, as long as see the document added along with the commit, it seems just
to be mistaken that trying to pass the error instance.
https://github.com/rails/rails/pull/30622/files#diff-59beb0189c8c6bc862edf7fdb84ff5a7R64

Fixes rails#32853
@y-yagi y-yagi merged commit 6fac9bd into rails:master May 12, 2018
@y-yagi y-yagi deleted the fixes_32853 branch May 12, 2018 04:55
@y-yagi
Copy link
Member Author

y-yagi commented May 12, 2018

Backported in 0b29d01

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.

None yet

1 participant