mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user