Upgrade config to Rails 4.2