diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-10 17:28:21 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2006-03-10 17:28:21 +0000 |
commit | 51d6bc2807d7899723f72aa4dba6851b8b135a65 (patch) | |
tree | b3533d6c97656a92d63f71992e2d35f0681ddac3 /activerecord | |
parent | bfbbd4c346eb6f91505f64d9f437ee32f4540d03 (diff) | |
download | rails-51d6bc2807d7899723f72aa4dba6851b8b135a65.tar.gz rails-51d6bc2807d7899723f72aa4dba6851b8b135a65.tar.bz2 rails-51d6bc2807d7899723f72aa4dba6851b8b135a65.zip |
Passing comment
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3835 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/lib/active_record/base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb index 623e5a30e9..70d88e561b 100755 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -1523,7 +1523,7 @@ module ActiveRecord #:nodoc: # Turns this record into XML def to_xml(options = {}) options[:root] ||= self.class.to_s.underscore - options[:except] = Array(options[:except]) << self.class.inheritance_column unless options[:only] + options[:except] = Array(options[:except]) << self.class.inheritance_column unless options[:only] # skip type column root_only_or_except = { :only => options[:only], :except => options[:except] } attributes_for_xml = attributes(root_only_or_except) |