Some configs for rails 4.2