Skip to content

Commit 6ab1c85

Browse files
committed
Rewords a CHANGELOG entry
As discussed in rails#50599.
1 parent 8c4af05 commit 6ab1c85

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

activerecord/CHANGELOG.md

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
* Add `explain` support for methods like `last`, `pluck` and `count`
2-
3-
Let `explain` return a proxy that delegates these methods:
1+
* The object returned by `explain` now responds to `pluck`, `first`,
2+
`last`, `average`, `count`, `maximum`, `minimum`, and `sum`. Those
3+
new methods run `EXPLAIN` on the corresponding queries:
44

55
```ruby
66
User.all.explain.count
@@ -12,10 +12,6 @@
1212
# ...
1313
```
1414

15-
The supported methods are `pluck`, `first`, and `last`, as well as the
16-
calculation methods: `average`, `count`, `maximum`,
17-
`minimum`, and `sum`.
18-
1915
*Petrik de Heus*
2016

2117
* Validate using `:on` option when using `validates_associated`

0 commit comments

Comments
 (0)