How do I combine the query from two different models

后端 未结 0 977
闹比i
闹比i 2020-12-19 06:03

I have three models that look like this

  1. Twit
    class Twit < ApplicationRecord
      belongs_to :user
    
      has_many :retwits, fo         


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