sample application of rails