diff --git a/guides/source/active_record_encryption.md b/guides/source/active_record_encryption.md index 4520bd51da..6cc14e6153 100644 --- a/guides/source/active_record_encryption.md +++ b/guides/source/active_record_encryption.md @@ -134,7 +134,7 @@ end You might need to ignore case when querying deterministically encrypted data. There are two options that can help you here. -You can use the option `:downcase` when declaring the encrypted attribute. This will make that content is downcased before being encrypted. +You can use the `:downcase` option when declaring the encrypted attribute to downcase the content before encryption occurs. ```ruby class Person @@ -142,7 +142,7 @@ class Person end ``` -When using `:downcase` the original case is lost. There might be cases where you need to preserve the original case when reading the value, but you need to ignore the case when querying. For those cases you can use the option `:ignore_case` which requires you to add a new column named `original_` to store the content with the case unchanged: +When using `:downcase`, the original case is lost. In some situations, you might want to ignore the case only when querying, while also storing the original case. For those situations, you can use the option `:ignore_case`. This requires you to add a new column named `original_` to store the content with the case unchanged: ```ruby class Label