aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/module/method_transplanting.rb
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-07-11 08:56:47 +0100
committerAndrew White <andyw@pixeltrix.co.uk>2013-07-11 09:05:32 +0100
commit07a4c76a07641840892463eb934400abdf694927 (patch)
tree5b8ac35d3fb08f76e87274aedb3a3d637ce3b347 /activesupport/lib/active_support/core_ext/module/method_transplanting.rb
parente7e81b4580f46c3d5229fdef3f0749802a9206da (diff)
downloadrails-07a4c76a07641840892463eb934400abdf694927.tar.gz
rails-07a4c76a07641840892463eb934400abdf694927.tar.bz2
rails-07a4c76a07641840892463eb934400abdf694927.zip
Only raise DelegationError if it's is the source of the exception
This fixes situations where nested NoMethodError exceptions are masked by delegations. This would cause confusion especially where there was a problem in the Rails booting process because of a delegation in the routes reloading code. Fixes #10559
Diffstat (limited to 'activesupport/lib/active_support/core_ext/module/method_transplanting.rb')
0 files changed, 0 insertions, 0 deletions