demo_app from Ch2 rails demo