From cf8621a3e9676f0c62d84dc42797e75bc6ab1a1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Sun, 20 Dec 2015 01:43:20 -0200 Subject: [PATCH] Add a commend about deprecation of ActiveSupport::OrderedHash It is in the code to provides backward compatibility for people that have this class serialized as YAML in some storage. Closes #22681 --- activesupport/lib/active_support/ordered_hash.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/ordered_hash.rb b/activesupport/lib/active_support/ordered_hash.rb index 4680d5acb7..b1658f0f27 100644 --- a/activesupport/lib/active_support/ordered_hash.rb +++ b/activesupport/lib/active_support/ordered_hash.rb @@ -5,7 +5,7 @@ YAML.add_builtin_type("omap") do |type, val| end module ActiveSupport - # ActiveSupport::OrderedHash implements a hash that preserves + # DEPRECATED: ActiveSupport::OrderedHash implements a hash that preserves # insertion order. # # oh = ActiveSupport::OrderedHash.new