diff options
author | jvillarejo <arzivian87@gmail.com> | 2019-02-21 17:55:21 -0300 |
---|---|---|
committer | jvillarejo <arzivian87@gmail.com> | 2019-02-26 12:21:14 -0300 |
commit | fa2c61fc636f958c274692f2a0f3062859797790 (patch) | |
tree | a54c83f40d283d735f57a93e460ff532d41dbf74 /actionmailbox/test/generators | |
parent | 588f97d76fabdf46211150f991c58d48e9fbf0ac (diff) | |
download | rails-fa2c61fc636f958c274692f2a0f3062859797790.tar.gz rails-fa2c61fc636f958c274692f2a0f3062859797790.tar.bz2 rails-fa2c61fc636f958c274692f2a0f3062859797790.zip |
fixes different `count` calculation when using `size` manual `select` with DISTINCT
When using `select` with `'DISTINCT( ... )'` if you use method `size` on a non loaded relation it overrides the column selected by passing `:all` so it returns different value than count.
This fixes #35214
Diffstat (limited to 'actionmailbox/test/generators')
0 files changed, 0 insertions, 0 deletions