Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 3835

Show
Ignore:
Timestamp:
03/10/06 17:28:21 (3 years ago)
Author:
david
Message:

Passing comment

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/lib/active_record/base.rb

    r3832 r3835  
    15241524      def to_xml(options = {}) 
    15251525        options[:root]    ||= self.class.to_s.underscore 
    1526         options[:except]    = Array(options[:except]) << self.class.inheritance_column unless options[:only] 
     1526        options[:except]    = Array(options[:except]) << self.class.inheritance_column unless options[:only] # skip type column 
    15271527        root_only_or_except = { :only => options[:only], :except => options[:except] } 
    15281528