add rails_12factor gem to deploy to heroku
remove unnecessary database hookups.