From d499f5c2505498a9db6b5b647adc9cd059d77109 Mon Sep 17 00:00:00 2001 From: Michael Gunderloy Date: Mon, 21 Sep 2009 17:50:14 -0500 Subject: [PATCH] Fix variable error in Nokogiri XmlMini code --- .../lib/active_support/xml_mini/nokogiri.rb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/activesupport/lib/active_support/xml_mini/nokogiri.rb b/activesupport/lib/active_support/xml_mini/nokogiri.rb index a354ad3..f3c64c6 100644 --- a/activesupport/lib/active_support/xml_mini/nokogiri.rb +++ b/activesupport/lib/active_support/xml_mini/nokogiri.rb @@ -12,7 +12,7 @@ module ActiveSupport if string.blank? {} else - doc = Nokogiri::XML(data) { |cfg| cfg.noblanks } + doc = Nokogiri::XML(string) { |cfg| cfg.noblanks } raise doc.errors.first if doc.errors.length > 0 doc.to_hash end -- 1.6.4.1