From a16f1907ff794a87c8e94587bfbdf3a69ed958aa Mon Sep 17 00:00:00 2001 From: Deepak Mahakale Date: Tue, 5 Sep 2023 15:39:05 +0530 Subject: [PATCH] [skip ci] Minor formatting fixes for code blocks --- guides/source/7_1_release_notes.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/guides/source/7_1_release_notes.md b/guides/source/7_1_release_notes.md index db102f70eb..79021dbcc9 100644 --- a/guides/source/7_1_release_notes.md +++ b/guides/source/7_1_release_notes.md @@ -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. @@ -433,8 +433,8 @@ Please refer to the [Changelog][action-view] for detailed changes. options for the sanitize process. ```ruby - simple_format("Continue", {}, { sanitize_options: { attributes: %w[target href] } }) - # => "

Continue

" + simple_format("Continue", {}, { sanitize_options: { attributes: %w[target href] } }) + # => "

Continue

" ``` Action Mailer