make clear that config/secrets.yml passes through ERB and therefore supports ENV

This commit is contained in:
Xavier Noria 2013-12-18 19:16:32 +01:00
parent 7b5cf7ef9d
commit 6d894cf3ea

@ -16,5 +16,11 @@ development:
test: test:
secret_key_base: <%= app_secret %> secret_key_base: <%= app_secret %>
# This YAML file is processed by ERB first (as others). In particular the
# production environment can set the secret via an environment variable
# this way:
#
# secret_key_base: <%%= ENV['SECRET_KEY_BASE'] %>
#
production: production:
secret_key_base: <%= app_secret %> secret_key_base: <%= app_secret %>