Some more rails 4 upgrade configuration.