demo app from ruby tutorial