diff options
Diffstat (limited to 'activesupport/lib/active_support/core_ext/hash')
-rw-r--r-- | activesupport/lib/active_support/core_ext/hash/conversions.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/conversions.rb b/activesupport/lib/active_support/core_ext/hash/conversions.rb index bbbda3698f..840421789b 100644 --- a/activesupport/lib/active_support/core_ext/hash/conversions.rb +++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb @@ -32,7 +32,7 @@ module ActiveSupport #:nodoc: else type_name = XML_TYPE_NAMES[value.class.to_s] - options[:builder].__send__(key.to_s.dasherize, + options[:builder].tag!(key.to_s.dasherize, XML_FORMATTING[type_name] ? XML_FORMATTING[type_name].call(value) : value, options[:skip_types] || value.nil? || type_name.nil? ? { } : { :type => type_name } ) |