aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/hash/conversions.rb
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2010-06-01 04:57:34 -0300
committerJosé Valim <jose.valim@gmail.com>2010-06-01 10:45:51 +0200
commit31e1445a8194f1eab70ac8c7d45797f0708c6c8e (patch)
tree44794aced84e799dfd09e209b14abb04d085c3e0 /activesupport/lib/active_support/core_ext/hash/conversions.rb
parent0bed93be25e6bcae2b1a74cec70413118be66736 (diff)
downloadrails-31e1445a8194f1eab70ac8c7d45797f0708c6c8e.tar.gz
rails-31e1445a8194f1eab70ac8c7d45797f0708c6c8e.tar.bz2
rails-31e1445a8194f1eab70ac8c7d45797f0708c6c8e.zip
Unforce builder from AS
Signed-off-by: José Valim <jose.valim@gmail.com>
Diffstat (limited to 'activesupport/lib/active_support/core_ext/hash/conversions.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/hash/conversions.rb2
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 14e5d2f8ac..565c9af7fb 100644
--- a/activesupport/lib/active_support/core_ext/hash/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb
@@ -55,7 +55,7 @@ class Hash
# configure your own builder with the <tt>:builder</tt> option. The method also accepts
# options like <tt>:dasherize</tt> and friends, they are forwarded to the builder.
def to_xml(options = {})
- require 'builder' unless defined?(Builder)
+ require 'active_support/builder' unless defined?(Builder)
options = options.dup
options[:indent] ||= 2