In Rails, how do I order by one column, and then order by a string (converted to an integer)?

前端 未结 0 1049
无人共我
无人共我 2021-01-07 08:31

I have two fields: name and price. The name field is a string, and price is a string as well. I am trying to order by the

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