aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorAndrew Kreiling <agkr@pobox.com>2013-03-03 07:50:59 -0600
committerAlex Tambellini <atambellini@gmail.com>2013-06-09 18:20:10 -0400
commita548792aa0beef4330a3d47eb75dd2fe741013bc (patch)
tree73c25e049f42333dbaff3a1a95c0153ccacbd11f /activesupport/CHANGELOG.md
parentf5e133e830940731b74c4e12118eab90054d32ec (diff)
downloadrails-a548792aa0beef4330a3d47eb75dd2fe741013bc.tar.gz
rails-a548792aa0beef4330a3d47eb75dd2fe741013bc.tar.bz2
rails-a548792aa0beef4330a3d47eb75dd2fe741013bc.zip
Don't blindly call blame_file! on exceptions in ActiveSupport::Dependencies::Loadable
It is possible under some environments to receive an Exception that is not extended with Blamable (e.g. JRuby). ActiveSupport::Dependencies::Loadable#load_dependency blindly call blame_file! on the exception which throws it's own NoMethodError exception and hides the original Exception. This commit fixes #9521
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r--activesupport/CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index 5a1c14683e..0f9399f4d6 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,3 +1,8 @@
+* Fix `ActiveSupport::Dependencies::Loadable#load_dependency` calling
+ `#blame_file!` on Exceptions that do not have the Blamable mixin
+
+ *Andrew Kreiling*
+
* Override `Time.at` to support the passing of Time-like values when called with a single argument.
*Andrew White*