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

Merge pull request #13784 from kuldeepaggarwal/fix-doc-collection-proxy

Add missing information for `id` field when used with `select` [ci skip]
......@@ -84,7 +84,7 @@ def loaded?
#
# Be careful because this also means you're initializing a model
# object with only the fields that you've selected. If you attempt
# to access a field that is not in the initialized record you'll
# to access a field except +id+ that is not in the initialized record you'll
# receive:
#
# person.pets.select(:name).first.person_id
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册