templatize database.yml and secret_token.rb