diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 5950665e99264..10d5417cb57cd 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -1,4 +1,4 @@ -* Add `explain` support for `last`, `pluck` and `count` +* Add `explain` support for methods like `last`, `pluck` and `count` Let `explain` return a proxy that delegates these methods: @@ -12,6 +12,10 @@ # ... ``` + The supported methods are `pluck`, `first`, and `last`, as well as the + calculation methods: `average`, `count`, `maximum`, + `minimum`, and `sum`. + *Petrik de Heus* * Validate using `:on` option when using `validates_associated`