Active Record .includes with where clause

前端 未结 0 570
遥遥无期
遥遥无期 2021-01-24 00:56

I\'m attempting to avoid an N+1 query by using includes, but I need to filter out some of the child records. Here\'s what I have so far:

Column.inclu         


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