aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorOge Nnadi <oge@nnadi.org>2015-01-16 21:22:29 -0800
committerOge Nnadi <oge@nnadi.org>2015-01-16 21:22:29 -0800
commitc0be81cfad2b6727496d1e28f727ac05a0368942 (patch)
tree4ccb950eeaa199d2335a9a7ac80ecedaf28a7c55 /guides
parent0d019afcd538b9ecd425471b6db6d624e12897b3 (diff)
downloadrails-c0be81cfad2b6727496d1e28f727ac05a0368942.tar.gz
rails-c0be81cfad2b6727496d1e28f727ac05a0368942.tar.bz2
rails-c0be81cfad2b6727496d1e28f727ac05a0368942.zip
Typo fix
Diffstat (limited to 'guides')
-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)