the demo app on the rails tutorial