lib/action_controller/metal/instrumentation.rb
# A hook which allows other frameworks to log what happened during
# controller process action. This method should return an array
# with the messages to be added.
# :api: plugin
A hook which allows other frameworks to log what happened during
controller process action. This method should return an array
with the messages to be added.
:api: plugin
A hook which allows other frameworks to log what happened during controller process action . This method should return an array with the messages to be added . : api : plugin
def log_process_action(payload) 
        messages, view_runtime = [], payload[:view_runtime]
        messages << ("Views: %.1fms" % view_runtime.to_f) if view_runtime
        messages
      end
def log_process_action ( payload ) messages , view_runtime = [ ] , payload [ :view_runtime ] messages << ( "Views: %.1fms" % view_runtime . to_f ) if view_runtime messages end
A hook which allows other frameworks to log what happened during
controller process action.
A hook which allows other frameworks to log what happened during controller process action .
#:nodoc:
payload