mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-28 07:57:45 +00:00
64ef37b89d
* Replace incorrect use of distinct with group
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
|
||
---|---|---|
.. | ||
home_controller.rb | ||
list_controller.rb | ||
public_controller.rb | ||
tag_controller.rb |