method

cleanup_view_runtime

rails latest stable - Class: ActionController::Instrumentation
cleanup_view_runtime()
private

A hook which allows you to clean up any time, wrongly taken into account in views, like database querying time.

def cleanup_view_runtime
  super - time_taken_in_something_expensive
end