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: Event.select('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/> https://github.com/rails/rails/commit/fe0db2b80588446b34f5f89bbe73f04b88fb06c9

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="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>