Skip to content

Commit

Permalink
Updating README to clarify that keys use attribute by default
Browse files Browse the repository at this point in the history
  • Loading branch information
haydengomes committed Jun 25, 2024
1 parent 3b33f4d commit 2663eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2663eae

Please sign in to comment.