Changeset 3835
- Timestamp:
- 03/10/06 17:28:21 (3 years ago)
- Files:
-
- trunk/activerecord/lib/active_record/base.rb (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activerecord/lib/active_record/base.rb
r3832 r3835 1524 1524 def to_xml(options = {}) 1525 1525 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 1527 1527 root_only_or_except = { :only => options[:only], :except => options[:except] } 1528 1528