提交 0933b6d1 编写于 作者: J John Firebaugh

We already have the record; no need to retrieve it again

上级 cbf924ef
......@@ -219,8 +219,8 @@ def add_associations(association, records, opts)
end
end
end
elsif record = @serializable.send(association)
record.to_xml(merged_options)
else
records.to_xml(merged_options)
end
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册