This project is archived and is in readonly mode.

Changeset [2e9af3638d950ef840e1287f99e323887ec6a4c4] 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...

Committed by José Valim

  • 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

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>