demo app from rails tutorial