I find one of the most frequent uses of find_each/find_in_batches is looping through a large collection in order to queue up a list of ids for a background job to process. e.g. queuing up a big list of user ids to send an email to. Would be nice to avoid the overhead of AR objects and just do something like:
User.some_scopes.pluck_each(:id) { |id| ... }
User.some_scopes.pluck_in_batches { |batch| ... }
Or maybe pluck could be an alternative to select?
User.some_scopes.pluck(:id).find_each { |id| ... }