method

load_with_new_constant_marking

rails latest stable - Class: ActiveSupport::Dependencies::Loadable

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

load_with_new_constant_marking(file, *extras)
public

No documentation available.

# File activesupport/lib/active_support/dependencies.rb, line 143
      def load_with_new_constant_marking(file, *extras) #:nodoc:
        if Dependencies.load?
          Dependencies.new_constants_in(Object) { load_without_new_constant_marking(file, *extras) }
        else
          load_without_new_constant_marking(file, *extras)
        end
      rescue Exception => exception  # errors from loading file
        exception.blame_file! file
        raise
      end