issue for rails4