sample application from the rails tutorial