made rails changes for heroku