RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: benvandoren
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.