Sample app from rail tutorial