File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -249,11 +249,11 @@ The collection's configuration settings affect all deprecators in the collection
249
249
` ` ` ruby
250
250
Rails.application.deprecators.debug = true
251
251
252
- puts Rails.application.deprecators[:my_gem].debug
253
- # true
252
+ Rails.application.deprecators[:my_gem].debug
253
+ # => true
254
254
255
- puts Rails.application.deprecators[:other_gem].debug
256
- # true
255
+ Rails.application.deprecators[:other_gem].debug
256
+ # => true
257
257
` ` `
258
258
259
259
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.
433
433
options for the sanitize process.
434
434
435
435
` ` ` ruby
436
- simple_format("<a target=\" _blank\" href=\" http://example.com\" >Continue</a>", {}, { sanitize_options: { attributes: %w[target href] } })
437
- # => "<p><a target=\" _blank\" href=\" http://example.com\" >Continue</a></p>"
436
+ simple_format("<a target=\" _blank\" href=\" http://example.com\" >Continue</a>", {}, { sanitize_options: { attributes: %w[target href] } })
437
+ # => "<p><a target=\" _blank\" href=\" http://example.com\" >Continue</a></p>"
438
438
` ` `
439
439
440
440
Action Mailer
You can’t perform that action at this time.
0 commit comments