Browse files

Fix variable error in Nokogiri XmlMini code [#3242 state:resolved]

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
1 parent e187528 commit 6222ac1a91e5beb44d875ec9c0072bbac6f3d04d Michael Gunderloy committed with lifo Sep 21, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 activesupport/lib/active_support/xml_mini/nokogiri.rb
View
2 activesupport/lib/active_support/xml_mini/nokogiri.rb
@@ -12,7 +12,7 @@ def parse(string)
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

0 comments on commit 6222ac1

Please sign in to comment.