RailsCasts Pro episodes are now free!

Learn more or hide this

Ashley Wysocki's Profile

GitHub User: ashleywysocki

Site: ashleywysocki.tumblr.com

Comments by Ashley Wysocki


I'ved added raise omni = request.env["omniauth.auth"].to_yaml to the Authentication#create controller but when I authenticate with Twitter and it redirects back, I get:

TypeError: can't convert nil into String

and in the stack trace the first one of many is:
omniauth-twitter (0.0.14) lib/omniauth/strategies/twitter.rb:23:in `+'

In the url it displays the correct users/auth/twitter url with the oauth_token as parameters. I'm not sure what I'm doing wrong, does anyone know what to try to fix this?


Thanks so much! This was a lifesaver.