fix locale and rails4