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
Post a Comment