Module: MongoModel::Railties::ControllerRuntime::ClassMethods
- Defined in:
- lib/mongomodel/railties/controller_runtime.rb
Instance Method Summary collapse
Instance Method Details
#log_process_action(payload) ⇒ Object
25 26 27 28 29 |
# File 'lib/mongomodel/railties/controller_runtime.rb', line 25 def log_process_action(payload) , db_runtime = super, payload[:db_runtime] << ("MongoModel: %.1fms" % db_runtime.to_f) if db_runtime end |