SyntaxFix
Write A Post
Hire A Developer
Questions
This is the Rails 3 way
SomeModel.last(5) # last 5 records in ascending order SomeModel.last(5).reverse # last 5 records in descending order