Jun 26, 2011

Use SignedCookieJar in Rails to set signed cookies

My Rails 3 application’s use case – set a tamper-proof cookie other than the default session cookie (which your Rails app is probably already signing.) Maybe your application does this to track analytics, persistent information for logged out users, etc...

Jun 24, 2011

Nginx, gzip, and the Accept-Encoding header

To get gzip configured for nginx, first make sure the flag is set when you compile, or that the binary you’ve installed was compiled with it on (seems to be the default)...

Jun 22, 2011

Serve mobile-specific templates easily with Padrino & Sinatra

Padrino provides support to render templates dynamically (e.g. foo.js vs. foo.haml) based on request content type formats and also locales (e.g. en, fr, es). If you're not making use of the locales, you can use that mechanism for other purposes with just a simple override...

May 15, 2011

How Pivotal Tracker Meets Our Needs

For over a year now I've used Pivotal Tracker on projects to answer the question - "what should I do next?" The tool has worked well for me, and recently I was asked to explain by someone a bit more...