diff options
-rw-r--r-- | activerecord/lib/active_record/associations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations.rb b/activerecord/lib/active_record/associations.rb index b16983026e..265bad7bc2 100644 --- a/activerecord/lib/active_record/associations.rb +++ b/activerecord/lib/active_record/associations.rb @@ -776,7 +776,7 @@ module ActiveRecord # # If you want to load all posts (including posts with no approved comments) then write # your own LEFT OUTER JOIN query using ON - # + # # Post.joins('LEFT OUTER JOIN comments ON comments.post_id = posts.id AND comments.approved = true') # # You must disambiguate column references for this fallback to happen, for example |