Mongodb rails sort by belongs_to relationship

前端 未结 0 1580
难免孤独
难免孤独 2020-12-22 18:47

In my class I have a belongs_to relationship

Class MyClass

  belongs_to :reason, :class_name => \'Reason\', autosave: false

Then on the r

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