about summary refs log tree commit diff
path: root/app/controllers/emojis_controller.rb
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 /app/controllers/emojis_controller.rb
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 'app/controllers/emojis_controller.rb')
0 files changed, 0 insertions, 0 deletions