diff --git a/data/msfweb/vendor/rails/activesupport/lib/active_support/dependencies.rb b/data/msfweb/vendor/rails/activesupport/lib/active_support/dependencies.rb index 2badad5f5f..8f91ad85a2 100644 --- a/data/msfweb/vendor/rails/activesupport/lib/active_support/dependencies.rb +++ b/data/msfweb/vendor/rails/activesupport/lib/active_support/dependencies.rb @@ -151,16 +151,7 @@ module ActiveSupport #:nodoc: raise end - def require(file, *extras) #:nodoc: - if Dependencies.load? - Dependencies.new_constants_in(Object) { super } - else - super - end - rescue Exception => exception # errors from required file - exception.blame_file! file - raise - end + # Mark the given constant as unloadable. Unloadable constants are removed each # time dependencies are cleared.