Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
  • Loading branch information...
commit 6222ac1a91e5beb44d875ec9c0072bbac6f3d04d 1 parent e187528
Michael Gunderloy authored lifo committed
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
Please sign in to comment.
Something went wrong with that request. Please try again.