Read adapter differently in Railtie

Trying to solve Heroku deployment issue.