diff options
author | Víctor Martínez <knoopx@gmail.com> | 2010-09-30 19:14:47 +0200 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-15 14:02:30 -0800 |
commit | fe0db2b80588446b34f5f89bbe73f04b88fb06c9 (patch) | |
tree | 426675b770434676ce6e750bf0ad3beed00d8d3c /activerecord/lib/active_record/associations/association_collection.rb | |
parent | c594f22e6586e78a9047fd96074e8aa0774f5a56 (diff) | |
download | rails-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/lib/active_record/associations/association_collection.rb')
0 files changed, 0 insertions, 0 deletions