Posted by Rob Anderton on January 25th, 2011 @ 18:00 – 1 comment
Updated on January 25th, 2011 @ 17:42
Tagged with rails3
Here's a revisited post that's fairly short and sweet: way back in 2008 I blogged about my implementation of tamper-proof cookies which used a similar technique to that used by Rails for its cookie-based session store. Back then the solution involved a custom cookie jar, the OpenSSL library to generate a HMAC, overriding the ApplicationController#cookies method and a slightly unorthodox method signature for reading cookie values.
Read more of this entry
Posted by Rob Anderton on August 22nd, 2010 @ 10:04 – 30 comments
Updated on October 11th, 2010 @ 23:38
Tagged with rails3
With a final release of Rails 3 edging closer every day it seems like a good time to revisit some of my old articles from the last few years and bring them up to date.
Back in the summer of 2008 I wrote about custom link renderers using will_paginate and, as it is still one of the most popular posts on the blog, it’s the one I’ve decided to refresh first. Don’t worry if you haven’t read the original article as I’ll be covering the same things here. So without further ado, let’s get stuck in!
Read more of this entry