sampe_app from the rails tutorial