switch to rails4.1