partnerpedia/pully — Issue #9: Logging in doesn't work on heroku
Author: adamcooper
Created: 2012-01-29 08:17:00+00:00
State: open

```

2012-01-29T08:15:15+00:00 app[web.1]: Started GET "/auth/github/callback?code=95
8e6b1eb06539020546" for 96.49.101.52 at 2012-01-29 08:15:15 +0000
2012-01-29T08:15:15+00:00 app[web.1]:
2012-01-29T08:15:15+00:00 app[web.1]: Processing by SessionsController#create as
HTML
2012-01-29T08:15:15+00:00 app[web.1]: Parameters: {"code"=>"958e6b1eb065390205
46", "provider"=>"github"}
2012-01-29T08:15:15+00:00 app[web.1]: Completed 500 Internal Server Error in 41m
s
2012-01-29T08:15:15+00:00 app[web.1]: LINE 1: SELECT COUNT(*) FROM "users" WHER
E "users"."uid" = 12883
2012-01-29T08:15:15+00:00 app[web.1]:
2012-01-29T08:15:15+00:00 app[web.1]:
^
2012-01-29T08:15:15+00:00 app[web.1]: ActiveRecord::StatementInvalid (PGError: E
RROR: operator does not exist: character varying = integer
2012-01-29T08:15:15+00:00 app[web.1]:
2012-01-29T08:15:15+00:00 app[web.1]: : SELECT COUNT(*) FROM "users" WHERE "use
rs"."uid" = 12883):
2012-01-29T08:15:15+00:00 app[web.1]: HINT: No operator matches the given name
and argument type(s). You might need to add explicit type casts.
2012-01-29T08:15:15+00:00 app[web.1]: app/controllers/sessions_controller.rb:8
:in `create'
2012-01-29T08:15:15+00:00 app[web.1]: app/models/user.rb:7:in `find_or_create_
from'
2012-01-29T08:15:15+00:00 app[web.1]:

```