sample long app from rails tutorial