From 95c9ece59ab6926272a7fb6d5907ca58a84b39f7 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sat, 23 Jun 2007 00:30:18 +0000 Subject: 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 --- activesupport/lib/active_support/core_ext/hash/conversions.rb | 5 ----- 1 file changed, 5 deletions(-) (limited to 'activesupport/lib/active_support/core_ext/hash/conversions.rb') diff --git a/activesupport/lib/active_support/core_ext/hash/conversions.rb b/activesupport/lib/active_support/core_ext/hash/conversions.rb index 2cccd9c30e..2c0d894518 100644 --- a/activesupport/lib/active_support/core_ext/hash/conversions.rb +++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb @@ -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) -- cgit v1.2.3