This method is deprecated or moved on the latest stable version.
The last existing version (v1.2.6) is shown here.
reset_application!()
public
Reset the application by clearing out loaded controllers, views, actions,
mailers, and so forth. This allows them to be loaded again without having
to restart the server (WEBrick, FastCGI, etc.).
# File railties/lib/dispatcher.rb, line 56
def reset_application!
ActiveRecord::Base.reset_subclasses if defined?(ActiveRecord)
Dependencies.clear
ActiveSupport::Deprecation.silence do # TODO: Remove after 1.2
Class.remove_class(*Reloadable.reloadable_classes)
end
ActiveRecord::Base.clear_reloadable_connections! if defined?(ActiveRecord)
end