Fixing the demo app from Rails Tutorial