You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Active Record encryption guides have two sections that mention
model-specific options: "Model-specific Key Providers" and
"Model-specific Keys". Those options aren't really model-specific, but
attribute-specific.
This commit changes the text from "model" to "attribute", making the
documentation more precise.
Copy file name to clipboardExpand all lines: guides/source/active_record_encryption.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -343,19 +343,19 @@ Both methods return `ActiveRecord::Encryption::Key` objects:
343
343
344
344
A key can include arbitrary tags that will be stored unencrypted with the message. You can use `ActiveRecord::Encryption::Message#headers` to examine those values when decrypting.
345
345
346
-
### Model-specific Key Providers
346
+
### Attribute-specific Key Providers
347
347
348
-
You can configure a key provider on a per-class basis with the `:key_provider`option:
348
+
You can configure a key provider on a per-attribute basis with the `:key_provider`option:
0 commit comments