app from ruby tutorial