Please sign in to comment.
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
- Loading branch information...
Showing with 8 additions and 2 deletions.