sample application from Michael Hartl Rails tutorial