Rails Query object and scoped method

前端 未结 0 1455
不知归路
不知归路 2020-12-21 19:57

I would have a method like this:

User.churned.where(field: true)

and I am using a Query Object to return churned users.

app/qu

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