Skip to content

Instantly share code, notes, and snippets.

@Exellin
Created April 10, 2016 21:50
Show Gist options
  • Save Exellin/836d4b97ae81a1455e69de6c67ab24bb to your computer and use it in GitHub Desktop.
Save Exellin/836d4b97ae81a1455e69de6c67ab24bb to your computer and use it in GitHub Desktop.
2016-04-10T21:42:00.538729+00:00 app[web.1]: Started GET "/my_portfolio" for 68.147.69.93 at 2016-04-10 21:42:00 +0000
2016-04-10T21:42:00.542249+00:00 app[web.1]: Processing by UsersController#my_portfolio as HTML
2016-04-10T21:42:00.550708+00:00 app[web.1]: User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 ORDER BY "users"."id" ASC LIMIT 1 [["id", 1]]
2016-04-10T21:42:00.556657+00:00 app[web.1]: Rendered common/_spinner.html.erb (0.1ms)
2016-04-10T21:42:00.556990+00:00 app[web.1]: Rendered stocks/_lookup.html.erb (1.4ms)
2016-04-10T21:42:00.559641+00:00 app[web.1]: PG::UndefinedFunction: ERROR: operator does not exist: integer = character varying
2016-04-10T21:42:00.559652+00:00 app[web.1]: LINE 1: ...stocks" INNER JOIN "user_stocks" ON "stocks"."id" = "user_st...
2016-04-10T21:42:00.559653+00:00 app[web.1]: ^
2016-04-10T21:42:00.559654+00:00 app[web.1]: HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
2016-04-10T21:42:00.559655+00:00 app[web.1]: : SELECT "stocks".* FROM "stocks" INNER JOIN "user_stocks" ON "stocks"."id" = "user_stocks"."stock_id" WHERE "user_stocks"."user_id" = $1
2016-04-10T21:42:00.560811+00:00 app[web.1]: Rendered stocks/_list.html.erb (3.6ms)
2016-04-10T21:42:00.560939+00:00 app[web.1]: Rendered users/my_portfolio.html.erb within layouts/application (5.5ms)
2016-04-10T21:42:00.561145+00:00 app[web.1]: Completed 500 Internal Server Error in 19ms (ActiveRecord: 0.7ms)
2016-04-10T21:42:00.564157+00:00 app[web.1]:
2016-04-10T21:42:00.564168+00:00 app[web.1]: ActionView::Template::Error (PG::UndefinedFunction: ERROR: operator does not exist: integer = character varying
2016-04-10T21:42:00.564169+00:00 app[web.1]: LINE 1: ...stocks" INNER JOIN "user_stocks" ON "stocks"."id" = "user_st...
2016-04-10T21:42:00.564170+00:00 app[web.1]: ^
2016-04-10T21:42:00.564171+00:00 app[web.1]: HINT: No operator matches the given name and argument type(s). You might need to add explicit type casts.
2016-04-10T21:42:00.564172+00:00 app[web.1]: : SELECT "stocks".* FROM "stocks" INNER JOIN "user_stocks" ON "stocks"."id" = "user_stocks"."stock_id" WHERE "user_stocks"."user_id" = $1):
2016-04-10T21:42:00.564173+00:00 app[web.1]: 10: </tr>
2016-04-10T21:42:00.564175+00:00 app[web.1]: 13: <% @user_stocks.each do |user_stock| %>
2016-04-10T21:42:00.564174+00:00 app[web.1]: 12: <tbody>
2016-04-10T21:42:00.564174+00:00 app[web.1]: 11: </thread>
2016-04-10T21:42:00.564176+00:00 app[web.1]: 14: <tr>
2016-04-10T21:42:00.564176+00:00 app[web.1]: 15: <td><%= user_stock.name %></td>
2016-04-10T21:42:00.564177+00:00 app[web.1]: 16: <td><%= user_stock.ticker %></td>
2016-04-10T21:42:00.564178+00:00 app[web.1]: app/views/stocks/_list.html.erb:13:in `_app_views_stocks__list_html_erb___4190911436903104371_70057800658940'
2016-04-10T21:42:00.564179+00:00 app[web.1]: app/views/users/my_portfolio.html.erb:3:in `_app_views_users_my_portfolio_html_erb___3273435105537506986_70057801336280'
2016-04-10T21:42:00.564179+00:00 app[web.1]:
2016-04-10T21:42:00.564180+00:00 app[web.1]:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment