Full sample from the Rails tutorial (MHartl)