# New DEPRECATION warning - xml\_serialization.rb

**URL:** <https://www.ruby-forum.com/t/new-deprecation-warning-xml-serialization-rb/114485>\
**Category:** Rails\
**Created:** [September 13, 2007, 9:22am UTC](https://www.ruby-forum.com/t/new-deprecation-warning-xml-serialization-rb/114485 "2007-09-13T09:22:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gers32](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/ed8c4c/32.png) [@gers32](https://www.ruby-forum.com/u/gers32)\
**Post date:** [September 13, 2007, 9:22am UTC](https://www.ruby-forum.com/t/new-deprecation-warning-xml-serialization-rb/114485/1 "2007-09-13T09:22:14Z")

</div>

Hi,

I’ve been developing a RoR application for a couple of months now, and  
haven’t made any recent upgrades (Aptana RadRails in MyEclipse IDE).  
All of a sudden, I’m getting the following warning messages:

c:/ruby/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active\_record/  
xml\_serialization.rb:278: warning: Object#type is deprecated; use  
Object#class

I’d appreciate if someone could tip me on how to fix this. Thanks,

Chris.
