Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #13709 from akshay-vishnoi/typo

[ci skip] Grammar correction
  • Loading branch information...
commit d901699acac572a7c3b5f3de45d8f59e83d0db2a 2 parents 66f3d5b + a71a8e2
@senny senny authored
2  activesupport/lib/active_support/core_ext/hash/conversions.rb
@@ -105,7 +105,7 @@ class << self
# 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), disallowed_types).to_h
Please sign in to comment.
Something went wrong with that request. Please try again.