Filter the collection from has_many association?

前端 未结 0 803
野的像风
野的像风 2021-01-02 12:30

I\'m trying to return a teacher object with its collection of .students, but only the students that meet a criteria. Here is the teacher w

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