about summary refs log tree commit diff
path: root/lib/templates
diff options
context:
space:
mode:
authorAkihiko Odaki <nekomanma@pixiv.co.jp>2020-08-28 19:29:59 +0900
committerGitHub <noreply@github.com>2020-08-28 12:29:59 +0200
commite26e7a1cb5992375eecedbc10ab9bcef4e603a88 (patch)
treea74ed55b41413c0d20757a76baa4fb20fa9d565d /lib/templates
parent552e886b648faa2a2229d86c7fd9abc8bb5ff99c (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 'lib/templates')
0 files changed, 0 insertions, 0 deletions