Skip to content
Browse files

Fix AR preloader example

  • Loading branch information...
1 parent ab2e2a9 commit 5b7b705d36c58508e7da0a87dd6232f699653969 @avakhov avakhov committed May 22, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/associations/preloader.rb
View
2 activerecord/lib/active_record/associations/preloader.rb
@@ -12,7 +12,7 @@ module Associations
# and all of its books via a single query:
#
# SELECT * FROM authors
- # LEFT OUTER JOIN books ON authors.id = books.id
+ # LEFT OUTER JOIN books ON authors.id = books.author_id
# WHERE authors.name = 'Ken Akamatsu'
#
# However, this could result in many rows that contain redundant data. After

0 comments on commit 5b7b705

Please sign in to comment.
Something went wrong with that request. Please try again.