Skip to content

Commit

Permalink
Updating README to clarify that keys use attribute by default (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
haydengomes authored Jun 25, 2024
1 parent 3b33f4d commit 0ddf4c5
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 0ddf4c5

Please sign in to comment.