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 -

Add new record to the table by click on the button in Microsoft Access -

CSS3 Transition to highlight new elements created in JQuery -