spec/dummy/config/database.yml in optimacms-0.2.1 vs spec/dummy/config/database.yml in optimacms-0.2.2
- old
+ new
@@ -17,10 +17,14 @@
password:
host: localhost
development:
<<: *default
- database: my_cms
+ host: <%= Rails.application.secrets.db_host %>
+ database: <%= Rails.application.secrets.db %>
+ username: <%= Rails.application.secrets.db_user %>
+ password: <%= Rails.application.secrets.db_password %>
+
# Warning: The database defined as "test" will be erased and
# re-generated from your development database when you run "rake".
# Do not set this db to the same as development or production.
test: