Skip to content

Commit 1e7fd06

Browse files
authored
Merge pull request rails#50599 from p8/activerecord/explain-changelog
Name all supported methods in `explain` CHANGELOG entry
2 parents 082ffa9 + 2e2fb81 commit 1e7fd06

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

activerecord/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
* Add `explain` support for `last`, `pluck` and `count`
1+
* Add `explain` support for methods like `last`, `pluck` and `count`
22

33
Let `explain` return a proxy that delegates these methods:
44

@@ -12,6 +12,10 @@
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+
1519
*Petrik de Heus*
1620

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

0 commit comments

Comments
 (0)