rails_12_factor for heroku

Change-Id: I0b71d356bf195c4b47a192e316fd4dcddccf1f56