Skip to content

Instantly share code, notes, and snippets.

@esmerino
Created May 27, 2014 03:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save esmerino/e2859a0a92356424b4c6 to your computer and use it in GitHub Desktop.
Save esmerino/e2859a0a92356424b4c6 to your computer and use it in GitHub Desktop.
E, [2014-05-26T23:46:33.128739 #8365] ERROR -- : [196.210.247.97] PG::SyntaxError: ERROR: syntax error at or near ")"
LINE 1: ...T "products".* FROM "products" WHERE (category_id LIKE (?))
^
: SELECT "products".* FROM "products" WHERE (category_id LIKE (?))
I, [2014-05-26T23:46:33.130426 #8365] INFO -- : [196.210.247.97] Rendered products/_products.html.erb (3.6ms)
I, [2014-05-26T23:46:33.130701 #8365] INFO -- : [196.210.247.97] Rendered categories/show.html.erb within layouts/application (5.1ms)
I, [2014-05-26T23:46:33.131085 #8365] INFO -- : [196.210.247.97] Completed 500 Internal Server Error in 19ms
F, [2014-05-26T23:46:33.135574 #8365] FATAL -- : [196.210.247.97]
ActionView::Template::Error (PG::SyntaxError: ERROR: syntax error at or near ")"
LINE 1: ...T "products".* FROM "products" WHERE (category_id LIKE (?))
^
: SELECT "products".* FROM "products" WHERE (category_id LIKE (?))):
1: <% @products.each do |product| %>
2: <div class="col-sm-4 col-md-3 col-ms-6">
3: <div class="image-box">
4: <%= link_to cl_image_tag(product.images[0].path, width: 440, height: 520, crop: :fill, html_width: 220, html_height: 260), product_path(product)%>
app/views/products/_products.html.erb:1:in `_app_views_products__products_html_erb__1230106375790260466_69945746826820'
app/views/categories/show.html.erb:1:in `_app_views_categories_show_html_erb___2974271260445679720_69945758138440'
I, [2014-05-26T23:46:33.327897 #8363] INFO -- : [196.210.247.97] Started GET "/categories/clothing-shirts" for 196.210.247.97 at 2014-05-26 23:46:33 -0400
I, [2014-05-26T23:46:33.334208 #8363] INFO -- : [196.210.247.97] Processing by CategoriesController#show as HTML
I, [2014-05-26T23:46:33.334365 #8363] INFO -- : [196.210.247.97] Parameters: {"id"=>"clothing-shirts"}
E, [2014-05-26T23:46:33.350227 #8363] ERROR -- : [196.210.247.97] PG::SyntaxError: ERROR: syntax error at or near ")"
LINE 1: ...T "products".* FROM "products" WHERE (category_id LIKE (?))
^
: SELECT "products".* FROM "products" WHERE (category_id LIKE (?))
I, [2014-05-26T23:46:33.351510 #8363] INFO -- : [196.210.247.97] Rendered products/_products.html.erb (3.1ms)
I, [2014-05-26T23:46:33.351814 #8363] INFO -- : [196.210.247.97] Rendered categories/show.html.erb within layouts/application (4.5ms)
I, [2014-05-26T23:46:33.352158 #8363] INFO -- : [196.210.247.97] Completed 500 Internal Server Error in 18ms
F, [2014-05-26T23:46:33.356540 #8363] FATAL -- : [196.210.247.97]
ActionView::Template::Error (PG::SyntaxError: ERROR: syntax error at or near ")"
LINE 1: ...T "products".* FROM "products" WHERE (category_id LIKE (?))
^
: SELECT "products".* FROM "products" WHERE (category_id LIKE (?))):
1: <% @products.each do |product| %>
2: <div class="col-sm-4 col-md-3 col-ms-6">
3: <div class="image-box">
4: <%= link_to cl_image_tag(product.images[0].path, width: 440, height: 520, crop: :fill, html_width: 220, html_height: 260), product_path(product)%>
app/views/products/_products.html.erb:1:in `_app_views_products__products_html_erb__1230106375790260466_69945720720200'
app/views/categories/show.html.erb:1:in `_app_views_categories_show_html_erb___2974271260445679720_69945752716620'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment