fixing active record connection issues on heroku