more config for rails 4