来源:https://stackoverflow.com/questions/31618823/rails-select-the-object-with-the-highest-count-in-a-group 标签 ruby-on-rails ruby-on-rails-4