This project is archived and is in readonly mode.
Changeset [c39151a84768397d3bb025c6e8f877eac59ebbf9] by John Maxwell
Revision c39151a84768397d3bb025c6e8f877eac59ebbf9,
committed 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...
4 changed files
-
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