acts_as_commentable
acts_as_commentable copied to clipboard
Order by id
Ordering by id is faster than ordering by created_at, because id is an index unlike created_at. And it gives the same results because id is automatically incremented.