This repo contains example code from Jose Valims excellent book 'crafting rails applications'