Module: ActionController::TimeBanditry::ClassMethods

Defined in:
lib/time_bandits/monkey_patches/action_controller.rb

Instance Method Summary collapse

Instance Method Details

#log_process_action(payload) ⇒ Object

:nodoc:



47
48
49
50
51
# File 'lib/time_bandits/monkey_patches/action_controller.rb', line 47

def log_process_action(payload) #:nodoc:
  # need to call this to compute DB time/calls
  TimeBandits.consumed
  super.concat(TimeBandits.runtimes)
end