Skip to content

Commit 89208be

Browse files
committed
fix: quote production db config vars
1 parent d105de5 commit 89208be

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

config/database.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ development: &development
1717
<<: *default
1818
database: aylamusica_rails_development
1919
adapter: mysql2
20-
host: <%= ENV['DATABASE_HOST'] %>
21-
username: <%= ENV['DATABASE_USERNAME'] %>
22-
password: <%= ENV['DATABASE_PASSWORD'] %>
20+
host: "<%= ENV['DATABASE_HOST'] %>"
21+
username: "<%= ENV['DATABASE_USERNAME'] %>"
22+
password: "<%= ENV['DATABASE_PASSWORD'] %>"
2323

2424
# Warning: The database defined as "test" will be erased and
2525
# re-generated from your development database when you run "rake".
@@ -49,8 +49,8 @@ test:
4949
#
5050
production:
5151
<<: *default
52-
database: <%= ENV['DATABASE_NAME'] %>
52+
database: "<%= ENV['DATABASE_NAME'] %>"
5353
adapter: postgresql
54-
host: <%= ENV['DATABASE_HOST'] %>
55-
username: <%= ENV['DATABASE_USERNAME'] %>
56-
password: <%= ENV['DATABASE_PASSWORD'] %>
54+
host: "<%= ENV['DATABASE_HOST'] %>"
55+
username: "<%= ENV['DATABASE_USERNAME'] %>"
56+
password: "<%= ENV['DATABASE_PASSWORD'] %>"

0 commit comments

Comments
 (0)