In database.yml
you can have a default environment and have the other inherit:
development: &default
adapter: postgresql
database: dev_development
test: &test
<<: *default
database: test_test
production:
<<: *default
database: test_production
Can you do this in secrets.yml? Should you?
Yes, you can. It's just the format; you can use it in any YML file.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With