File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
activesupport/lib/active_support/deprecation Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ class Deprecation
54
54
# [+stderr+] Log all deprecation warnings to <tt>$stderr</tt>.
55
55
# [+log+] Log all deprecation warnings to +Rails.logger+.
56
56
# [+notify+] Use +ActiveSupport::Notifications+ to notify +deprecation.rails+.
57
- # [+silence+] Do nothing. On Rails, set ` config.active_support.report_deprecations = false` to disable all behaviors.
57
+ # [+silence+] Do nothing. On Rails, set <tt> config.active_support.report_deprecations = false</tt> to disable all behaviors.
58
58
#
59
59
# Setting behaviors only affects deprecations that happen after boot time.
60
60
# For more information you can read the documentation of the +behavior=+ method.
@@ -94,8 +94,8 @@ def disallowed_behavior
94
94
# # custom stuff
95
95
# }
96
96
#
97
- # If you are using Rails, you can set ` config.active_support.report_deprecations = false` to disable
98
- # all deprecation behaviors. This is similar to the ` silence` option but more performant.
97
+ # If you are using Rails, you can set <tt> config.active_support.report_deprecations = false</tt> to disable
98
+ # all deprecation behaviors. This is similar to the + silence+ option but more performant.
99
99
def behavior = ( behavior )
100
100
@behavior = Array ( behavior ) . map { |b | DEFAULT_BEHAVIORS [ b ] || arity_coerce ( b ) }
101
101
end
You can’t perform that action at this time.
0 commit comments