#LH4840 to_xml doesn't work in such case: Event.select('title as t').to_xml #115

Closed
wants to merge 2 commits into
from

Conversation

Projects
None yet
3 participants

knoopx and others added some commits Sep 30, 2010

@knoopx @franckverrot knoopx 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
2e39ad4
@franckverrot franckverrot Provide test for #4840: to_xml doesn't work in such case: Event.selec…
…t('title as t').to_xml
3348a9e
Owner

tenderlove commented Dec 15, 2010

I've merged this in. Thanks guys!

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment