allow rails4