From a71a8e2a35e159b92d393228b935cee8301fce34 Mon Sep 17 00:00:00 2001 From: Akshay Vishnoi Date: Tue, 14 Jan 2014 13:43:47 +0530 Subject: [PATCH] [ci skip] Grammar correction --- activesupport/lib/active_support/core_ext/hash/conversions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activesupport/lib/active_support/core_ext/hash/conversions.rb b/activesupport/lib/active_support/core_ext/hash/conversions.rb index 2684c772ea..7bea461c77 100644 --- a/activesupport/lib/active_support/core_ext/hash/conversions.rb +++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb @@ -105,7 +105,7 @@ class Hash # hash = Hash.from_xml(xml) # # => {"hash"=>{"foo"=>1, "bar"=>2}} # - # DisallowedType is raise if the XML contains attributes with type="yaml" or + # DisallowedType is raised if the XML contains attributes with type="yaml" or # type="symbol". Use Hash.from_trusted_xml to parse this XML. def from_xml(xml, disallowed_types = nil) ActiveSupport::XMLConverter.new(xml, disallowed_types).to_h