The default behavior of rails allows the encrypted credentials file to be environment specific. This PR provides this functionality and prioritizes env specific keys over non environment specific ones.
secret: the actual-secret
test:
secret: stubbed_key
production:
secret: the-actual-secret
The default behavior of rails allows the encrypted credentials file to be environment specific. This PR provides this functionality and prioritizes env specific keys over non environment specific ones.
In this example this key would be used.