This project is archived and is in readonly mode.
Changeset [2e9af3638d950ef840e1287f99e323887ec6a4c4] by José Valim
Revision 2e9af3638d950ef840e1287f99e323887ec6a4c4,
committed by José Valim
· April 29th, 2010 @ 11:42 AM
Move several configuration values from Hash to ActiveSupport::XmlMini, which both Hash and Array depends on.
Also, refactored ActiveModel serializers to just use
ActiveSupport::XmlMini.to_tag. As consequence, if a serialized
attribute is an array or a hash, it's not encoded as yaml, but as a
hash or array.
http://github.com/rails/rails/commit/2e9af3638d950ef840e1287f99e323...
13 changed files
-
R
activesupport/lib/active_support/core_ext/hash/conversions_xml_value.rb -
M
actionpack/CHANGELOG -
M
activemodel/lib/active_model/serializers/xml.rb -
M
activerecord/CHANGELOG -
M
activerecord/lib/active_record/serializers/xml_serializer.rb -
M
activerecord/test/cases/base_test.rb -
M
activerecord/test/cases/xml_serialization_test.rb -
M
activesupport/CHANGELOG -
M
activesupport/lib/active_support/core_ext/array.rb -
M
activesupport/lib/active_support/core_ext/array/conversions.rb -
M
activesupport/lib/active_support/core_ext/hash.rb -
M
activesupport/lib/active_support/core_ext/hash/conversions.rb -
M
activesupport/lib/active_support/xml_mini.rb