rails/rails — pull request #17940 by robertjlooby (2014-12-05 22:04:41+00:00)
Title: ignore reverse_order when finding in batches

Fixes https://github.com/rails/rails/issues/17854