来源:https://stackoverflow.com/questions/43740031/active-record-how-to-perform-a-nested-select-on-a-second-table 标签 sql ruby-on-rails activerecord