Update configs for Rails 4