ruby on rails4 sample application