rails/rails — pull request #4096 by jdelStrother (2011-12-21 12:37:55+00:00)
Title: Adding Enumerator support to find_in_batches / find_each

Any thoughts on something like this? Obviously an alternative would be for the client to rely on enum_for -

```
Post.enum_for(:find_in_batches).each_with_index do |posts, i|
...
end
```

but this seems nicer.