Sha256: e482cbe1d1ee9974c91cb3e312d125fa8e50714aa53c5d3561dd0e268ef5fc4a
Contents?: true
Size: 408 Bytes
Versions: 4
Compression:
Stored size: 408 Bytes
Contents
# frozen_string_literal: true module RailsMiniProfiler module Tracing class ControllerTracer < Tracer def trace @event[:payload] = @event[:payload] .slice(:view_runtime, :db_runtime) .reject { |_k, v| v.blank? } .transform_values { |value| value&.round(2) } super end end end end
Version data entries
4 entries across 4 versions & 1 rubygems