Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [fe0db2b80588446b34f5f89bbe73f04b88fb06c9] by Víctor Martínez

Revision fe0db2b80588446b34f5f89bbe73f04b88fb06c9, committed 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

1 changed file

  • M activerecord/lib/active_record/serializers/xml_serializer.rb