Browse files

Typo fix

  • Loading branch information...
ogennadi committed Jan 17, 2015
1 parent 0d019af commit c0be81cfad2b6727496d1e28f727ac05a0368942
Showing with 1 addition and 1 deletion.
  1. +1 −1 guides/source/
@@ -1134,7 +1134,7 @@ This would generate a query which contains a `LEFT OUTER JOIN` whereas the
If there was no `where` condition, this would generate the normal set of two queries.
NOTE: Using `where` like this will only work when you pass it a Hash. For
SQL-fragments you need use `references` to force joined tables:
SQL-fragments you need to use `references` to force joined tables:
Article.includes(:comments).where("comments.visible = true").references(:comments)

0 comments on commit c0be81c

Please sign in to comment.