1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test
Sean Griffin b76b817629 Use the most highest priority exception handler when cause is set
There was some subtle breakage caused by #18774, when we removed
`#original_exception` in favor of `#cause`. However, `#cause` is
automatically set by Ruby when raising an exception from a rescue block.
With this change, we will use whichever handler has the highest priority
(whichever call to `rescue_from` came last). In cases where the outer
has lower precidence than the cause, but the outer is what should be
handled, cause will need to be explicitly unset.

Fixes #23925
2016-03-11 10:53:01 -07:00
..
abstract
assertions
controller Use the most highest priority exception handler when cause is set 2016-03-11 10:53:01 -07:00
dispatch Rename constrain_to to exclude. 2016-03-03 21:09:58 +01:00
fixtures
journey Deprecate :controller and :action path parameters 2016-03-01 08:48:53 +00:00
lib/controller
routing
tmp
abstract_unit.rb Merge pull request #23932 from arthurnn/arthurnn/remove_load_paths 2016-03-01 16:10:09 -05:00