1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

docs(distinct): tweaks [skip ci]

This commit is contained in:
Jason Kurian 2017-02-22 18:51:13 -05:00 committed by GitHub
parent 5a5170a8d2
commit 59e0d5fcb7

View file

@ -150,7 +150,7 @@ The `OR` operator works like this:
users.where(users[:name].eq('bob').or(users[:age].lt(25)))
```
The `AND` operator behaves similarly. Here is an example of the `DISTINCT` operator, which as of v6 is also chainable:
The `AND` operator behaves similarly. Here is an example of the `DISTINCT` operator:
```ruby
posts = Arel::Table.new(:posts)