updated configs for rails 4