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

c# - Farseer ContactListener is not working -

Automatically create pages in phpfox -

database - one php page with different contents and urls -