Module: ActionController::Instrumentation::ClassMethods
- Defined in:
- lib/time_bandits/monkey_patches/action_controller.rb
Instance Method Summary collapse
-
#log_process_action(payload) ⇒ Object
patch to log rendering time with more precision.
Instance Method Details
#log_process_action(payload) ⇒ Object
patch to log rendering time with more precision
18 19 20 21 22 |
# File 'lib/time_bandits/monkey_patches/action_controller.rb', line 18 def log_process_action(payload) #:nodoc: , view_runtime = [], payload[:view_runtime] << ("Views: %.3fms" % view_runtime.to_f) if view_runtime end |