Skip to content

Instantly share code, notes, and snippets.

@johndavid400
Created October 19, 2012 15:35
Show Gist options
  • Save johndavid400/3918885 to your computer and use it in GitHub Desktop.
Save johndavid400/3918885 to your computer and use it in GitHub Desktop.
Started POST "/plan" for 127.0.0.1 at 2012-10-19 10:30:12 -0500
Processing by QueriesController#plan as */*
Parameters: {"utf8"=>"✓", "authenticity_token"=>"u2SNgRF4vjd6SatI9+bw4UIlhN5HO246zu5gBPcMGao=", "keywords"=>"atlanta"}
Persistence::ActiveRecord::User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
Persistence::ActiveRecord::Individual Load (0.1ms) SELECT "individuals".* FROM "individuals" WHERE "individuals"."guid" = '6c51ec72-2831-4a8a-b47c-6c9421d26bb1' LIMIT 1
CACHE (0.0ms) SELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT 1
Persistence::ActiveRecord::AwsHomepageImage Load (0.3ms) SELECT "aws_homepage_images".* FROM "aws_homepage_images" WHERE (aws_homepage_images.location != 'Portland, OR')
SOLR Request (2.3ms) [ path=#<RSolr::Client:0x00000007a2d0a8> parameters={data: fq=type%3APersistence%5C%3A%5C%3AActiveRecord%5C%3A%5C%3ADestination&q=atlanta&fl=%2A+score&qf=pretty_name_textp+destination_textp&defType=dismax&start=0&rows=30&facet=true&f.pretty_destination_names_s.facet.mincount=1&facet.field=pretty_destination_names_s, 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: } ]
Completed 500 Internal Server Error in 6ms
NoMethodError (undefined method `destination_id' for nil:NilClass):
app/controllers/queries_controller.rb:65: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.8ms)
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.6ms)
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 (6.0ms)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment