Permalink
Browse files

Grammar fixes

[ci skip]
  • Loading branch information...
maclover7 committed May 29, 2017
1 parent 9050f6e commit 980ac58a51a1af0e2acdce0212ad64245929c181
Showing with 2 additions and 2 deletions.
  1. +2 −2 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]))

0 comments on commit 980ac58

Please sign in to comment.