Sample_app from ruby tutorial