Module: MassiveRecord::Rails::ControllerRuntime::ClassMethods
- Defined in:
- lib/massive_record/rails/controller_runtime.rb
Instance Method Summary collapse
Instance Method Details
#log_process_action(payload) ⇒ Object
47 48 49 50 51 |
# File 'lib/massive_record/rails/controller_runtime.rb', line 47 def log_process_action(payload) , db_runtime = super, payload[:db_runtime] << ("MassiveRecord: %.1fms" % db_runtime.to_f) if db_runtime end |