提交 ad9b6a3f 编写于 作者: R Robert Pankowecki

Fix ActiveModel::Serializers::Xml#to_xml reference

Link to ActiveRecord::Serialization#to_xml for more details
上级 f8d1b52a
......@@ -182,7 +182,7 @@ def add_procs
#
# To include associations use <tt>:include</tt>.
#
# For further documentation, see activerecord/lib/active_record/serializers/xml_serializer.xml.
# For further documentation, see ActiveRecord::Serialization#to_xml
def to_xml(options = {}, &block)
Serializer.new(self, options).serialize(&block)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册