From 8c01af2c64df15ff316ec99df31d52c8e75cad3c Mon Sep 17 00:00:00 2001 From: Junv Zhao Date: Thu, 12 Nov 2015 17:25:41 +0800 Subject: [PATCH] #28 try to pass the database configuration --- config/database.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/database.yml b/config/database.yml index d072e27..0b675bb 100644 --- a/config/database.yml +++ b/config/database.yml @@ -17,6 +17,7 @@ default: &default adapter: postgresql encoding: unicode + host: localhost # username: twer # For details on connection pooling, see rails configuration guide # http://guides.rubyonrails.org/configuring.html#database-pooling @@ -82,5 +83,5 @@ test: production: <<: *default database: libr - username: postgres + username: libr password: libradmin