This project is archived and is in readonly mode.

Changeset [c39151a84768397d3bb025c6e8f877eac59ebbf9] by John Maxwell

July 23rd, 2009 @ 02:47 AM

Patch to ActiveModel's (and ActiveRecord, by association) XML serialization: If two parameters are present in Procs supplied to to_xml's :procs option, the model being serialized will be passed as the second argument [#2373 state:resolved]

Signed-off-by: Joshua Peek josh@joshpeek.com http://github.com/rails/rails/co...

Committed by John Maxwell

  • M activemodel/lib/active_model/serializers/xml.rb
  • M activemodel/test/cases/serializeration/xml_serialization_test.rb
  • M activerecord/lib/active_record/serializers/xml_serializer.rb
  • M activerecord/test/cases/xml_serialization_test.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>