Module: ThinkingSphinx::ActionController::ClassMethods

Defined in:
lib/thinking_sphinx/action_controller.rb

Instance Method Summary collapse

Instance Method Details

#log_process_action(payload) ⇒ Object



24
25
26
27
28
# File 'lib/thinking_sphinx/action_controller.rb', line 24

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