This project is archived and is in readonly mode.

Changeset [fe0db2b80588446b34f5f89bbe73f04b88fb06c9] by Víctor Martínez

December 15th, 2010 @ 10:02 PM

to_xml doesn't work in such case:'title as t').to_xml [#4840 state:resolved]

NilClass.type is no longer defined in Ruby 1.9 and causes ActiveRecord::Base.to_xml to fail with message: undefined method type' for nil:NilClass<br/>

Committed by Víctor Martínez

  • M activerecord/lib/active_record/serializers/xml_serializer.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=""></a>