diff options
author | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2014-01-14 13:43:47 +0530 |
---|---|---|
committer | Akshay Vishnoi <akshay.vishnoi@vinsol.com> | 2014-01-14 13:43:47 +0530 |
commit | a71a8e2a35e159b92d393228b935cee8301fce34 (patch) | |
tree | 59b6566762ef21ee5ad95a415f8d73d334650bc5 | |
parent | db765ec741911ca8d9dfc9403f532d239301e435 (diff) | |
download | rails-a71a8e2a35e159b92d393228b935cee8301fce34.tar.gz rails-a71a8e2a35e159b92d393228b935cee8301fce34.tar.bz2 rails-a71a8e2a35e159b92d393228b935cee8301fce34.zip |
[ci skip] Grammar correction
-rw-r--r-- | activesupport/lib/active_support/core_ext/hash/conversions.rb | 2 |
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 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 <tt>type="yaml"</tt> or + # DisallowedType is raised if the XML contains attributes with <tt>type="yaml"</tt> or # <tt>type="symbol"</tt>. Use <tt>Hash.from_trusted_xml</tt> to parse this XML. def from_xml(xml, disallowed_types = nil) ActiveSupport::XMLConverter.new(xml, disallowed_types).to_h |