Examples from Pragmatic Programmers Crafting Rails Applications Book