aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/hash/conversions.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-06-23 00:30:18 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-06-23 00:30:18 +0000
commit95c9ece59ab6926272a7fb6d5907ca58a84b39f7 (patch)
tree4299747986ff01e105998dfd25e778002e186dc8 /activesupport/lib/active_support/core_ext/hash/conversions.rb
parent9159489872a1dd2038888b72b6990484a24ccad8 (diff)
downloadrails-95c9ece59ab6926272a7fb6d5907ca58a84b39f7.tar.gz
rails-95c9ece59ab6926272a7fb6d5907ca58a84b39f7.tar.bz2
rails-95c9ece59ab6926272a7fb6d5907ca58a84b39f7.zip
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
Diffstat (limited to 'activesupport/lib/active_support/core_ext/hash/conversions.rb')
-rw-r--r--activesupport/lib/active_support/core_ext/hash/conversions.rb5
1 files changed, 0 insertions, 5 deletions
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)