diff options
author | Akihiko Odaki <nekomanma@pixiv.co.jp> | 2020-08-28 19:29:59 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 12:29:59 +0200 |
commit | e26e7a1cb5992375eecedbc10ab9bcef4e603a88 (patch) | |
tree | a74ed55b41413c0d20757a76baa4fb20fa9d565d /public/emoji/1f402.svg | |
parent | 552e886b648faa2a2229d86c7fd9abc8bb5ff99c (diff) |
Replace incorrect use of distinct with group (#14675)
Some uses of ActiveRecord::QueryMethods#distinct pass field names but they are incorrect for the current version of Rails. ActiveRecord::QueryMethods#group provides the expected behavior and benefits performance. See commit 6da24aad4cafdef8d8a2c92bac2002a5fc2fe9c8.
Diffstat (limited to 'public/emoji/1f402.svg')
0 files changed, 0 insertions, 0 deletions