Module: Sunspot::Rails::Railties::ControllerRuntime::ClassMethods
- Defined in:
- sunspot_rails/lib/sunspot/rails/railties/controller_runtime.rb
Instance Method Summary (collapse)
Instance Method Details
- (Object) log_process_action(payload)
27 28 29 30 31 |
# File 'sunspot_rails/lib/sunspot/rails/railties/controller_runtime.rb', line 27 def log_process_action(payload) , solr_runtime = super, payload[:solr_runtime] << ("Solr: %.1fms" % solr_runtime.to_f) if solr_runtime end |