How to get last N records with activerecord?

前端 未结 14 664
南旧
南旧 2020-12-12 11:43

With :limit in query, I will get first N records. What is the easiest way to get last N records?

14条回答
提交回复
热议问题