The PGconn, PGresult, and PGError constants are deprecated on Heroku and Rails
Try to the following, edit your Gemfile like below
gem 'pg', '~> 0.20.0'
Or
gem 'pg', '~> 0.11'
Then bundle install and try, it should work
Written by fool-dev
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Pg
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#