Skip to content

Commit bf33c73

Browse files
committed
docs: update rails crendetial usage
1 parent ef7ccc8 commit bf33c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ After installing `Config` in Rails, you will find automatically generated file t
274274
* `evaluate_erb_in_yaml` - evaluate ERB in YAML config files. Set to false if the config file contains ERB that should not be evaluated at load time. Default: `true`
275275
* `file_name` - name of the file to store general keys accessible in all environments. Default: `'settings'` - located at `config/settings.yml`
276276
* `dir_name` - name of the directory to store environment-specific files. Default: `'settings'` - located at `config/settings/`
277-
* `use_rails_credentials` - evaluate Rails credentials if loaded with `RAILS_MASTER_KEY` or `config/master.key`
277+
* `use_rails_credentials` - evaluate Rails credentials if loaded with `RAILS_MASTER_KEY` or `config/master.key`. Can be access using `Settings.secret.secret_key_base`. Rails crendetials will override other settings as it will loaded last.
278278

279279
### Merge customization
280280

0 commit comments

Comments
 (0)