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.

XmlSerializer uses deprecated Object#type

#2113

XmlSerializer uses Object#type, which is deprecated.

Reported by Dan Barry · March 3rd, 2009 @ 01:36 AM

State: invalid
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Dan Barry
  2. Jeremy Kemper
    Jeremy Kemper
    • State changed from new to invalid

    Column#type != Object#class

    March 3rd, 2009 @ 05:41 PM

  3. Dan Barry
    Dan Barry

    I realize that Column#type and Object#class are different: that's why the patch checks if it's a column and uses #type if it is.

    I get a deprecation warning on that line any time I "render :xml => Foo.all".

    March 4th, 2009 @ 02:49 PM