aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/xml_mini.rb
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2012-06-05 05:24:55 +0900
committerAkira Matsuda <ronnie@dio.jp>2012-06-06 19:33:38 +0900
commit099639670a9a02ea2847117a541c4f48585951ad (patch)
tree139b95fa4e4e24154bae6f7858dc88dcbffac0d8 /activesupport/lib/active_support/xml_mini.rb
parentedee2c7b3bec824aa653b09d63aff06ab5542e06 (diff)
downloadrails-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.rb2
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