Skip to content

Commit

Permalink
docs, add missing closing bracket. [ci skip]
Browse files Browse the repository at this point in the history
  • Loading branch information
senny committed Jun 23, 2015
1 parent 5856444 commit 1716546
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/associations/preloader.rb
Expand Up @@ -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)
Expand Down

0 comments on commit 1716546

Please sign in to comment.