aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2015-01-16 21:48:25 -0800
committerZachary Scott <e@zzak.io>2015-01-16 21:48:25 -0800
commit059a83278aed164919cc9f5e6fa658f111e124ea (patch)
tree4ccb950eeaa199d2335a9a7ac80ecedaf28a7c55
parent0d019afcd538b9ecd425471b6db6d624e12897b3 (diff)
parentc0be81cfad2b6727496d1e28f727ac05a0368942 (diff)
downloadrails-059a83278aed164919cc9f5e6fa658f111e124ea.tar.gz
rails-059a83278aed164919cc9f5e6fa658f111e124ea.tar.bz2
rails-059a83278aed164919cc9f5e6fa658f111e124ea.zip
Merge pull request #18559 from ogennadi/patch-1
Typo fix
-rw-r--r--guides/source/active_record_querying.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md
index 434b308170..0019ac9297 100644
--- a/guides/source/active_record_querying.md
+++ b/guides/source/active_record_querying.md
@@ -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:
```ruby
Article.includes(:comments).where("comments.visible = true").references(:comments)