Skip to content

Instantly share code, notes, and snippets.

@johndavid400
Created October 19, 2012 15:51
Show Gist options
  • Save johndavid400/3918972 to your computer and use it in GitHub Desktop.
Save johndavid400/3918972 to your computer and use it in GitHub Desktop.
SOLR Request (3.1ms) [ path=#<RSolr::Client:0x00000008b50a38> parameters={data: fq=type%3APersistence%5C%3A%5C%3AActiveRecord%5C%3A%5C%3AOtRestaurant&fq=-rated_below_three_b%3Atrue&fq=state_s%3AAL&q=Birmingham&fl=%2A+score&qf=city_textp+state_textp&defType=dismax&mm=1&start=0&rows=4&facet=true&f.pretty_restaurant_names_s.facet.mincount=1&facet.field=pretty_restaurant_names_s&facet.field=taxonomy_s&f.taxonomy_s.facet.mincount=1, method: post, params: {:wt=>:ruby}, query: wt=ruby, headers: {"Content-Type"=>"application/x-www-form-urlencoded; charset=UTF-8"}, path: select, uri: http://localhost:8982/solr/select?wt=ruby, open_timeout: , read_timeout: } ]
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
CACHE (0.0ms) SELECT "answer_selections".* FROM "answer_selections" WHERE "answer_selections"."individual_id" = 2 AND (still_true = 't')
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
Completed 500 Internal Server Error in 2354ms
NoMethodError (undefined method `gsub' for nil:NilClass):
app/models/use_case/plan/activity/search.rb:35:in `perform_search'
app/models/use_case/plan/activity/search.rb:15:in `execute!'
app/helpers/queries_helper.rb:224:in `fetch_activities'
app/controllers/queries_controller.rb:90:in `plan'
Rendered /home/jd/.rvm/gems/ruby-1.9.3-p194@mrarlo/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_trace.erb (0.7ms)
Rendered /home/jd/.rvm/gems/ruby-1.9.3-p194@mrarlo/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (0.7ms)
Rendered /home/jd/.rvm/gems/ruby-1.9.3-p194@mrarlo/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (5.9ms)
Started GET "/assets/custom_theme/images/ui-bg_highlight-soft_25_8dc63f_1x100.png" for 127.0.0.1 at 2012-10-19 10:50:41 -0500
Served asset /custom_theme/images/ui-bg_highlight-soft_25_8dc63f_1x100.png - 200 OK (5ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment