RailsCasts Pro episodes are now free!

Learn more or hide this

Raison D'souza's Profile

GitHub User: rdsoze

Site: http://geekd.in

Comments by Raison D'souza

Avatar

Great episode but I wasted some valuable time on a silly issue. The omniauth-aouth gem is gobbling the app errors and its pretty difficult to debug them.
In this case,the following needs to be changed in the user model to

user.name = auth["info"]["name"]

instead of

user.name = auth["user_info"]["name"]