Skip to content

Instantly share code, notes, and snippets.

@yulgit1
Created April 7, 2017 14:24
Show Gist options
  • Save yulgit1/5405c96d498f4a6f88b9fec632dc9f17 to your computer and use it in GitHub Desktop.
Save yulgit1/5405c96d498f4a6f88b9fec632dc9f17 to your computer and use it in GitHub Desktop.
publication date facet error
2017-04-07 10:19:58 [INFO] Started GET "/catalog?utf8=%E2%9C%93&q=governor+winthrop&range%5Bpub_date_sort%5D%5Bbegin%5D=1676&range%5Bpub_date_sort%5D%5Bend%5D=2015&commit=Limit" for 130.132.80.190 at 2017-04-07 10:19:58 -0400
2017-04-07 10:19:58 [INFO] Started GET "/assets/application.js" for 130.132.80.190 at 2017-04-07 10:19:58 -0400
2017-04-07 10:19:58 [INFO] Started GET "/assets/library_logo_white_sm.png" for 130.132.80.190 at 2017-04-07 10:19:58 -0400
2017-04-07 10:19:58 [INFO] Started GET "/assets/application.css" for 130.132.80.190 at 2017-04-07 10:19:58 -0400
2017-04-07 10:19:58 [INFO] Processing by CatalogController#index as HTML
2017-04-07 10:19:58 [INFO] Parameters: {"utf8"=>"✓", "q"=>"governor winthrop", "range"=>{"pub_date_sort"=>{"begin"=>"1676", "end"=>"2015"}}, "commit"=>"Limit"}
2017-04-07 10:19:58 [INFO] Started GET "/assets/yaledesign-medium-webfont.ttf" for 130.132.80.190 at 2017-04-07 10:19:58 -0400
2017-04-07 10:19:58 [INFO] Completed 500 Internal Server Error in 16ms (ActiveRecord: 2.2ms)
2017-04-07 10:19:58 [FATAL]
ActiveRecord::StatementInvalid (Mysql2::Error: Incorrect string value: '\xE2\x9C\x93"\x0Aq...' for column 'query_params' at row 1: INSERT INTO `searches` (`query_params`, `created_at`, `updated_at`) VALUES ('--- !ruby/hash:ActiveSupport::HashWithIndifferentAccess\nutf8: \"✓\"\nq: governor winthrop\nrange: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n pub_date_sort: !ruby/hash:ActiveSupport::HashWithIndifferentAccess\n begin: \'1676\'\n end: \'2015\'\ncontroller: catalog\naction: index\n', '2017-04-07 14:19:58', '2017-04-07 14:19:58')):
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment