Move to rails4