rails/rails — pull request #7652 by toshi-kawanishi (2012-09-15 08:49:52+00:00)
Title: Fix find_in_batches with customized primary_key

Although we set primary_key other than id, we should compute offsets by any primary_key.