demo app from RoR tutorial