Updated config files to work with Rails 4