fixed rails config