diff --git a/activesupport/lib/active_support/core_ext/string/output_safety.rb b/activesupport/lib/active_support/core_ext/string/output_safety.rb index b53929c2a3d1da1bcbb7939595f3e3e6978c30d1..af7539881ac49785b48ebea25bd636078a10239e 100644 --- a/activesupport/lib/active_support/core_ext/string/output_safety.rb +++ b/activesupport/lib/active_support/core_ext/string/output_safety.rb @@ -24,6 +24,7 @@ def html_escape(s) end end + # Aliasing twice issues a warning "dicarding old...". Remove first to avoid it. remove_method(:h) alias h html_escape