Fix numbered list and indentation of code blocks on upgrade guide

Otherwise they are considered separate lists instead of a sequence
within the same list. This also renders the code block with extra
indent, as part of the item they belong to.

Also use `Active Record Encryption` with capital letters consistently.

[ci skip]
This commit is contained in:
Carlos Antonio da Silva 2023-10-12 08:43:16 -03:00
parent d5aeb51beb
commit 5103ab167e

@ -316,7 +316,7 @@ puts Rails.logger.broadcasts #=> [MyLogger]
[assert_match]: https://docs.seattlerb.org/minitest/Minitest/Assertions.html#method-i-assert_match
### Active Record encryption algorithm changes
### Active Record Encryption algorithm changes
Active Record Encryption now uses SHA-256 as its hash digest algorithm. If you have data encrypted with previous Rails
versions, there are two scenarios to consider:
@ -328,7 +328,7 @@ versions, there are two scenarios to consider:
config.active_record.encryption.hash_digest_class = OpenSSL::Digest::SHA1
```
1. If you have `config.active_support.key_generator_hash_digest_class` configured as SHA-256 (the new default
2. If you have `config.active_support.key_generator_hash_digest_class` configured as SHA-256 (the new default
in 7.0), then you need to configure SHA-256 for Active Record Encryption:
```ruby