Module: Datapathy::Railties::ControllerRuntime::ClassMethods
- Defined in:
- lib/datapathy/railtie.rb
Instance Method Summary collapse
Instance Method Details
#log_process_action(payload) ⇒ Object
37 38 39 40 41 |
# File 'lib/datapathy/railtie.rb', line 37 def log_process_action(payload) , query_runtime = super, payload[:query_runtime] << ("Datapathy: %.1fms" % query_runtime.to_f) if query_runtime end |