aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 2872589524..b2a5863754 100644
--- a/README.md
+++ b/README.md
@@ -150,9 +150,9 @@ The `OR` operator works like this:
users.where(users[:name].eq('bob').or(users[:age].lt(25)))
```
-The `AND` operator behaves similarly. The exception is the `DISTINCT` operator, which is not chainable:
+The `AND` operator behaves similarly. Here is an example of the `DISTINCT` operator, which as of v6 is also chainable:
-```
+```ruby
posts = Arel::Table.new(:posts)
posts.project(posts[:title])
posts.distinct