How to refactor instance dependent associations to force preload work

后端 未结 0 1759
独厮守ぢ
独厮守ぢ 2020-12-03 00:02

Does anybody knows how to fix preload for instance dependent associations?

class Employee
  belongs_to :root_company
  has_many :device_mappings, ->(e) { w         


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