We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e343351 commit d635b9eCopy full SHA for d635b9e
samples/rails/app/config/database.yml
@@ -1,9 +1,9 @@
1
default: &default
2
adapter: postgresql
3
pool: <%= ENV.fetch("RAILS_MAX_THREADS") { 5 } %>
4
- username: <%= ENV.fetch("DATABASE_USERNAME") %>
5
- password: <%= ENV.fetch("DATABASE_PASSWORD") %>
6
- host: <%= ENV.fetch("DATABASE_HOST") %>
+ username: <%= ENV["DATABASE_USERNAME"] %>
+ password: <%= ENVs["DATABASE_PASSWORD"] %>
+ host: <%= ENV["DATABASE_HOST"] %>
7
port: 5432
8
timeout: 5000
9
0 commit comments