rails: Optimising multiple map calls on ar relation to single sql query?

后端 未结 0 743
滥情空心
滥情空心 2020-11-29 05:08

I have the following relations:

class Bookmark
  belongs_to :collection
end

class Collection
  belongs_to :user
end

class User
  has_many :collections
end
<         


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