diff options
author | Yves Senn <yves.senn@gmail.com> | 2015-06-23 15:51:42 +0200 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2015-06-23 15:51:42 +0200 |
commit | 352b18d22a05b11e5ff6aaaca2aba29397aa80de (patch) | |
tree | 621ed9e0f3774dae78776ea3d3785662db416c32 /activerecord | |
parent | 5e75f51692cc92ad346fecc4a63fa628c8024149 (diff) | |
download | rails-352b18d22a05b11e5ff6aaaca2aba29397aa80de.tar.gz rails-352b18d22a05b11e5ff6aaaca2aba29397aa80de.tar.bz2 rails-352b18d22a05b11e5ff6aaaca2aba29397aa80de.zip |
docs, add missing closing bracket. [ci skip]
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/associations/preloader.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/preloader.rb b/activerecord/lib/active_record/associations/preloader.rb index 97f4bd3811..5b97aeedaa 100644 --- a/activerecord/lib/active_record/associations/preloader.rb +++ b/activerecord/lib/active_record/associations/preloader.rb @@ -16,7 +16,7 @@ module ActiveRecord # 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) |