Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Gabe Hoffman's Profile

GitHub User: gabehoffman

Site: gfc.tv

Comments by Gabe Hoffman

Avatar

Put this in the for what it's worth category, for Postgresql, the
rails g migration add_omniauth_to_users provider uid should be
rails g migration add_omniauth_to_users provider uid:integer otherwise I was getting a
Error: operator does not exist: character varying = integer.

I had to put several casts together to get an API providing OAuth2, and a devise client to use it with Omniauth, but good job putting the important bits out there.