configuring rails and heroku to work with pg