Merge pull request #49148 from deepakmahakale/release_notes_7_1/minor_code_block_changes

[skip ci] Minor formatting fixes for code blocks
This commit is contained in:
Ryuta Kamizono 2023-09-05 19:54:04 +09:00 committed by GitHub
commit 5fc58c86d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -249,11 +249,11 @@ The collection's configuration settings affect all deprecators in the collection
```ruby
Rails.application.deprecators.debug = true
puts Rails.application.deprecators[:my_gem].debug
# true
Rails.application.deprecators[:my_gem].debug
# => true
puts Rails.application.deprecators[:other_gem].debug
# true
Rails.application.deprecators[:other_gem].debug
# => true
```
There are scenarios where you might want to mute all deprecator warnings for a specific block of code.