RailsCasts Pro episodes are now free!

Learn more or hide this

Ryan's Profile

GitHub User: ryanleland

Site: http://ryanleland.com

Comments by Ryan

Avatar

I was very excited to see this almost working but I get the following error after the callback:

You have a nil object when you didn't expect it!
You might have expected an instance of ActiveRecord::Base.
The error occurred while evaluating nil.[]

The application trace is empty, and the last call in the full trace is:

oa-oauth (0.1.6) lib/omniauth/strategies/oauth.rb:24:in `callback_phase'

Any ideas?