diff options
author | Akira Matsuda <ronnie@dio.jp> | 2012-06-05 05:24:55 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2012-06-06 19:33:38 +0900 |
commit | 099639670a9a02ea2847117a541c4f48585951ad (patch) | |
tree | 139b95fa4e4e24154bae6f7858dc88dcbffac0d8 /activesupport/lib/active_support/xml_mini.rb | |
parent | edee2c7b3bec824aa653b09d63aff06ab5542e06 (diff) | |
download | rails-099639670a9a02ea2847117a541c4f48585951ad.tar.gz rails-099639670a9a02ea2847117a541c4f48585951ad.tar.bz2 rails-099639670a9a02ea2847117a541c4f48585951ad.zip |
Symbol responds_to :upcase & :downcase in Ruby >= 1.9
Diffstat (limited to 'activesupport/lib/active_support/xml_mini.rb')
-rw-r--r-- | activesupport/lib/active_support/xml_mini.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/xml_mini.rb b/activesupport/lib/active_support/xml_mini.rb index 88e18f6fff..88f9acb588 100644 --- a/activesupport/lib/active_support/xml_mini.rb +++ b/activesupport/lib/active_support/xml_mini.rb @@ -83,7 +83,7 @@ module ActiveSupport if name.is_a?(Module) @backend = name else - require "active_support/xml_mini/#{name.to_s.downcase}" + require "active_support/xml_mini/#{name.downcase}" @backend = ActiveSupport.const_get("XmlMini_#{name}") end end |