Sample app using rails4