Add extra config for Rails 4