aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/xml_serialization_test.rb
diff options
context:
space:
mode:
authorVíctor Martínez <knoopx@gmail.com>2010-09-30 19:14:47 +0200
committerAaron Patterson <aaron.patterson@gmail.com>2010-12-15 14:02:30 -0800
commitfe0db2b80588446b34f5f89bbe73f04b88fb06c9 (patch)
tree426675b770434676ce6e750bf0ad3beed00d8d3c /activerecord/test/cases/xml_serialization_test.rb
parentc594f22e6586e78a9047fd96074e8aa0774f5a56 (diff)
downloadrails-fe0db2b80588446b34f5f89bbe73f04b88fb06c9.tar.gz
rails-fe0db2b80588446b34f5f89bbe73f04b88fb06c9.tar.bz2
rails-fe0db2b80588446b34f5f89bbe73f04b88fb06c9.zip
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
Diffstat (limited to 'activerecord/test/cases/xml_serialization_test.rb')
0 files changed, 0 insertions, 0 deletions