aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-12-20 01:43:20 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-12-20 01:43:20 -0200
commitcf8621a3e9676f0c62d84dc42797e75bc6ab1a1d (patch)
tree7e246f8522d7364dfdf807aecdde3d44355be95b /activesupport/lib
parent043660249bd8587194202cf4440fb1fd9db109a4 (diff)
downloadrails-cf8621a3e9676f0c62d84dc42797e75bc6ab1a1d.tar.gz
rails-cf8621a3e9676f0c62d84dc42797e75bc6ab1a1d.tar.bz2
rails-cf8621a3e9676f0c62d84dc42797e75bc6ab1a1d.zip
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
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/ordered_hash.rb2
1 files changed, 1 insertions, 1 deletions
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
- # <tt>ActiveSupport::OrderedHash</tt> implements a hash that preserves
+ # DEPRECATED: <tt>ActiveSupport::OrderedHash</tt> implements a hash that preserves
# insertion order.
#
# oh = ActiveSupport::OrderedHash.new