A picture of Phil. He's smiling.

Phil Nash

is a developer

About

Phil Nash is a developer evangelist for Twilio. Sometimes he writes code on stage in front of a crowd, praying inside that everything works. Sometimes he writes open source code, which is much less stressful because if it is wrong someone else can correct it. He writes code in tweets sometimes, but not much fits. He blogs on this site and on the Twilio blog and you'll find plenty of code there too.

Latest from the blog

Testing signed and encrypted cookies in Rails

Recently I’ve been refactoring the tests for a gem I maintain and I needed to test that it sets the right cookies at the right time. But the cookies in use in the gem are signed cookies and that caused a slight hiccup for me. I’d never tested the value in a signed cookie before and it wasn’t immediately obvious what to do.