提交 352b18d2 编写于 作者: Y Yves Senn

docs, add missing closing bracket. [ci skip]

上级 5e75f516
......@@ -16,7 +16,7 @@ module Associations
# When you load an author with all associated books Active Record will make
# multiple queries like this:
#
# Author.includes(:books).where(:name => ['bell hooks', 'Homer').to_a
# Author.includes(:books).where(name: ['bell hooks', 'Homer']).to_a
#
# => SELECT `authors`.* FROM `authors` WHERE `name` IN ('bell hooks', 'Homer')
# => SELECT `books`.* FROM `books` WHERE `author_id` IN (2, 5)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册