2nd attempt at demo_app from rails tutorial