demo_app from ruby tutorial