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.