This method is deprecated or moved on the latest stable version.
The last existing version (v2.2.1) is shown here.
cleanup_application()
public
Cleanup the application by clearing out loaded classes so they can be
reloaded on the next request without restarting the server.
# File actionpack/lib/action_controller/dispatcher.rb, line 155
def cleanup_application
ActiveRecord::Base.reset_subclasses if defined?(ActiveRecord)
ActiveSupport::Dependencies.clear
ActiveRecord::Base.clear_reloadable_connections! if defined?(ActiveRecord)
end