Remove deprecated Hash#create_from_xml. Use Hash#from_xml.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7085 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper
2007-06-23 00:30:18 +00:00
parent 9159489872
commit 95c9ece59a

View File

@@ -142,11 +142,6 @@ module ActiveSupport #:nodoc:
'contentkey' => '__content__')
))
end
def create_from_xml(xml)
ActiveSupport::Deprecation.warn("Hash.create_from_xml has been renamed to Hash.from_xml", caller)
from_xml(xml)
end
private
def typecast_xml_value(value)