Module: Rails::Sequel::Railties::ControllerRuntime::ClassMethods

Defined in:
lib/rails3_sequel/railties/controller_runtime.rb

Instance Method Summary collapse

Instance Method Details

#log_process_action(payload) ⇒ Object



26
27
28
29
30
# File 'lib/rails3_sequel/railties/controller_runtime.rb', line 26

def log_process_action (payload)
  messages, db_runtime = super, payload[:db_runtime]
  messages << ("DB: %.1fms" % db_runtime.to_f) if db_runtime
  messages
end