Reputation: 317
I'm getting this error when my Heroku app starts up:
invalid connection option "fallback_application_name"
Any idea what could be causing that?
Upvotes: 1
Views: 398
Reputation: 317
It seems to be a problem with heroku + postgres > 0.14
Here's the comment in my Gemfile that explains the details:
# Warning, if you remove the version number and end up with postgres > 0.14, expect this:
# #/app/vendor/bundle/ruby/2.0.0/gems/activerecord-3.2.13/lib/active_record/connection_adapters/postgresql_adapter.rb:1216:in `initialize': invalid connection option "fallback_application_name" (PG::Error)
# when trying to get app running on Heroku
gem 'pg', '=0.14.1'
Upvotes: 3