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

前端 未结 0 1768
再見小時候
再見小時候 2020-12-18 06:56

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         


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