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

Use exception#cause if available (MRI Ruby 2.1+) #325

Conversation

jonatack
Copy link

original_exception is deprecated in Rails 5 in favor of #cause (see rails/rails#18774).

See rails/rails#18774.

exception#cause has been available in MRI Ruby since 2.1.
@rjrobinson
Copy link

Anyone able to resolve these conflicts?

@RobinDaugherty
Copy link
Member

RobinDaugherty commented Jul 30, 2017

Thanks for your help! This was fixed in release 2.2.0, which was released yesterday.

@jonatack jonatack deleted the use-exception-cause-over-deprecated-original-exception branch July 30, 2017 16:36
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

3 participants