mirror of
https://github.com/mastodon/mastodon.git
synced 2026-09-03 22:04:38 -05:00
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 6da24aad4c.