Please sign in to comment.
Make `ActiveRecord::Batches#find_each` to not return `self`.
This caused that `find_each` was producing extra db call taking all the records from db, and was less efficient than `ActiveRecord::Base#all`.
- Loading branch information...
Showing with 7 additions and 2 deletions.