1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

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
This commit is contained in:
Rafael Mendonça França 2015-12-20 01:43:20 -02:00
parent 043660249b
commit cf8621a3e9

View file

@ -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