Change db config to use ENV vars

This commit is contained in:
cole alban 2017-01-09 15:52:38 -05:00
parent 42794a71b8
commit 06ff938237
2 changed files with 3 additions and 6 deletions

View File

@ -13,9 +13,9 @@ default: &default
adapter: mysql2
encoding: utf8
pool: 5
username: root
password: terps
socket: /var/run/mysqld/mysqld.sock
username: <%= ENV['TEST_USER'] %>
password: <%= ENV['TEST_PASS'] %>
socket: <%= ENV['TEST_SOCKET'] %>
stats_development: &stats
adapter: mysql2

View File

@ -1,3 +0,0 @@
Rails.application.routes.draw do
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end