This project is archived and is in readonly mode.

#4650 ✓resolved
Rohit Arondekar

should serialize yaml fails in ActiveModel

Reported by Rohit Arondekar | May 19th, 2010 @ 08:59 AM | in 3.0.2

There is 1 failure in the testsuite of ActiveModel, Rails master on 1.9.2-head

The stacktrace is as follows:

1) Failure: test_should_serialize_yaml(XmlSerializationTest) [/home/rohit/remote-repos/rails_patches/working3/activemodel/test/cases/serializeration/xml_serialization_test.rb:107]:
Expected /\n\n aaron stack\n

Thanks to DefV from #rails-contrib, who has confirmed that the tests pass on 1.8.7

I noticed that on 1.9.2 the output of serializing the yaml was:

Note that a field(is it a field?) modifiable: true is extra on 1.9.2. I tried looking at the OpenStruct docs and did a little Googling around but couldn't find any more information.

Comments and changes to this ticket

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=""></a>

Referenced by