Ruby on rails order_by two attributes

后端 未结 0 1146
南方客
南方客 2021-01-14 12:36

I have a table and in this table i need the finished attribute if its null to be first but at the same time i want the due date to be ordered asc

def all_case         


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