Skip to content
Browse files

Copy edits 64148ab (previous commit). Please squash at will.

  • Loading branch information...
1 parent 5eaf012 commit 97fd8c0ffde63b776e96affb11b90716cd2ac514 @r00k r00k committed with fxn May 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/guides/source/active_record_querying.textile
View
2 railties/guides/source/active_record_querying.textile
@@ -704,7 +704,7 @@ SELECT categories.* FROM categories
INNER JOIN posts ON posts.category_id = categories.id
</sql>
-Or, in English: "return a category object for all categories with posts". (You will see duplicate categories if more than one post has the same category. If you want unique posts, you can use Category.joins(:post).select("distinct(categories.id)).)
+Or, in English: "return a Category object for all categories with posts". Note that you will see duplicate categories if more than one post has the same category. If you want unique categories, you can use Category.joins(:post).select("distinct(categories.id)").
h5. Joining Multiple Associations

0 comments on commit 97fd8c0

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