From e63f8205d195649d01700886dd678a674fb89552 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Fri, 2 Apr 2021 11:04:28 -0300 Subject: [PATCH] Tweak AR Encryption guide for better highlighting [ci skip] --- guides/source/active_record_encryption.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/guides/source/active_record_encryption.md b/guides/source/active_record_encryption.md index 5b38b25f3e..4520bd51da 100644 --- a/guides/source/active_record_encryption.md +++ b/guides/source/active_record_encryption.md @@ -197,7 +197,7 @@ When adding previous encryption schemes: * With **non-deterministic encryption**, new information will always be encrypted with the *newest* (current) encryption scheme. * With **deterministic encryption**, new information will always be encrypted with the *oldest* encryption scheme by default. -The reason is that, with deterministic encryption, you normally want ciphertexts to remain constant. You can change this behavior by setting `deterministic: { fixed: false} `. In that case, it will use the *newest* encryption scheme for encrypting new data. +The reason is that, with deterministic encryption, you normally want ciphertexts to remain constant. You can change this behavior by setting `deterministic: { fixed: false }`. In that case, it will use the *newest* encryption scheme for encrypting new data. ### Unique constraints @@ -216,7 +216,7 @@ end They will also work when combining encrypted and unencrypted data, and when configuring previous encryption schemes. -NOTE: If you want to ignore case make sure to use `downcase:` or `ignore_case:` in the `.encrypts` declaration. Using the `case_sensitive:` option in the validation won't work. +NOTE: If you want to ignore case make sure to use `downcase:` or `ignore_case:` in the `encrypts` declaration. Using the `case_sensitive:` option in the validation won't work. #### Unique indexes