Update config files to the Rails 4.1 way