Flowdock
method

cleanup_view_runtime

Importance_1
v3.0.0 - Show latest stable - 0 notes - Class: ActionController::Instrumentation
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

Show source
Register or log in to add new notes.