aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/dependencies.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/lib/active_support/dependencies.rb')
-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 622f637675..e585e89563 100644
--- a/activesupport/lib/active_support/dependencies.rb
+++ b/activesupport/lib/active_support/dependencies.rb
@@ -697,7 +697,7 @@ module ActiveSupport #:nodoc:
if file_path
expanded = File.expand_path(file_path)
expanded.sub!(/\.rb\z/, "")
- self.loaded.delete(expanded)
+ loaded.delete(expanded)
end
if constants.empty?