sampleapp built with rails4