Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Ben Van Doren's Profile

GitHub User: benvandoren

Site: benvandoren.com

Comments by Ben Van Doren

Avatar

I couldn't figure out for the life of me why current_user was returning nil with the new cookies authentication. I was using an old user for which there had been no auth token generated... if anyone else encounters the same there ya go. Make a new user or clear the db.