提交 e6629257 编写于 作者: R Rafael Mendonça França

Merge pull request #21324 from Gaurav2728/gaurav-xml_serialization_doc_fix

discard xml Serialization documentation that is no longer available […
......@@ -31,12 +31,10 @@ module ActiveModel
# of the attributes hash's keys. In order to override this behavior, take a look
# at the private method +read_attribute_for_serialization+.
#
# Most of the time though, either the JSON or XML serializations are needed.
# Both of these modules automatically include the
# <tt>ActiveModel::Serialization</tt> module, so there is no need to
# explicitly include it.
# JSON Serialization module is automatically include the <tt>ActiveModel::Serialization</tt>
# module, so there is no need to explicitly include it.
#
# A minimal implementation including XML and JSON would be:
# A minimal implementation including JSON would be:
#
# class Person
# include ActiveModel::Serializers::JSON
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册