method

cleanup_view_runtime

cleanup_view_runtime(#:nodoc:)
protected

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

  def cleanup_view_runtime
    super - time_taken_in_something_expensive
  end

:api: plugin