ActiveRecord Query for a Collection using SELECT MAX exhibiting poor performance in Rails

前端 未结 0 1598
孤街浪徒
孤街浪徒 2020-12-18 06:42

I have 3 main models, there can potentially be thousands of components and test records.

class Component
  has_many :test_records, as: :testable
end

class Te         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题