aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorJon Moss <me@jonathanmoss.me>2017-05-29 19:56:22 -0400
committerJon Moss <me@jonathanmoss.me>2017-05-29 19:56:22 -0400
commit980ac58a51a1af0e2acdce0212ad64245929c181 (patch)
treed67addfc1bde81e3c7218e1d6997716a9d268a4f /guides
parent9050f6ee0133e9088f914a77bb65108a89f49dfd (diff)
downloadrails-980ac58a51a1af0e2acdce0212ad64245929c181.tar.gz
rails-980ac58a51a1af0e2acdce0212ad64245929c181.tar.bz2
rails-980ac58a51a1af0e2acdce0212ad64245929c181.zip
Grammar fixes
[ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_record_querying.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md
index aea7515974..3676462788 100644
--- a/guides/source/active_record_querying.md
+++ b/guides/source/active_record_querying.md
@@ -559,8 +559,8 @@ SELECT * FROM clients WHERE (clients.locked != 1)
### OR Conditions
-`OR` condition between two relations can be build by calling `or` on the first relation
-and passing the second one as an argument.
+`OR` conditions between two relations can be built by calling `or` on the first
+relation, and passing the second one as an argument.
```ruby
Client.where(locked: true).or(Client.where(orders_count: [1,3,5]))