Fix config for rails4.1.1