Rails OmniAuth NoMethodError with Facebook -


i've been following this tutorial setting omniauth facebook, when try run /auth/facebook, error follows:

nomethoderror in sessionscontroller#create undefined method `[]' nil:nilclass 

my code same 1 in tutorial, except

auth = request.env['rack.auth'] 

is changed to

auth = request.env['omniauth.auth'] 

thanks in advanced, please.

matt

those instructions bit dated. try railscasts instead.


Comments

Popular posts from this blog

SPSS keyboard combination alters encoding -

Socket.connect doesn't throw exception in Android -

iphone - How do I keep MDScrollView from truncating my row headers and making my cells look bad? -