UPDATE: I was using #each, I changed it to#find_each which saves memory. See api.rubyonrails.org/classes/Active...
#each
#find_each
But this will not be a report friendly, find_each forces the sequence to be order by id desc :( thanks to the postoverall!
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
UPDATE: I was using
#each
, I changed it to#find_each
which saves memory. See api.rubyonrails.org/classes/Active...But this will not be a report friendly, find_each forces the sequence to be order by id desc :( thanks to the postoverall!