module ActiveSupport::Dependencies
def self.clear
reload. That involves more things, like deleting unloaded classes from the
Rails.application.reloader.reload! is the public interface for application
Private method that reloads constants autoloaded by the main autoloader.
def self.clear unload_interlock do _autoloaded_tracked_classes.clear autoloader.reload end end