From 0ddf4c555576a6932045a534b6c8753aa86b7966 Mon Sep 17 00:00:00 2001 From: Hayden Date: Tue, 25 Jun 2024 21:41:10 +0200 Subject: [PATCH] Updating README to clarify that keys use attribute by default (#145) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 209b6d38..5553fda9 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ vault_attribute :credit_card, - **Note** This value **cannot** be the same name as the vault attribute! #### Specifying a custom key -By default, the name of the key in Vault is `#{app}_#{table}_#{column}`. This is customizable by setting the `:key` option when declaring the attribute: +By default, the name of the key in Vault is `#{app}_#{table}_#{attribute}`. This is customizable by setting the `:key` option when declaring the attribute: ```ruby vault_attribute :credit_card,