Builds a Hash from XML just like Hash.from_xml, but also allows Symbol and YAML.
Hash.from_xml
# File activesupport/lib/active_support/core_ext/hash/conversions.rb, line 114 def from_trusted_xml(xml) from_xml xml, [] end
联系方式: