aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/dependencies.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/dependencies.rb b/activesupport/lib/active_support/dependencies.rb
index 100b48312a..2fcbdb0d3b 100644
--- a/activesupport/lib/active_support/dependencies.rb
+++ b/activesupport/lib/active_support/dependencies.rb
@@ -227,7 +227,7 @@ module ActiveSupport #:nodoc:
def load_dependency(file)
if Dependencies.load?
- Dependencies.new_constants_in(Object) { yield }.presence
+ Dependencies.new_constants_in(Object) { yield }
else
yield
end