rails/rails — pull request #5696 by softwaregravy (2012-04-01 19:30:45+00:00)
Title: Add total_record_limit option for find_in_batches

Discussion from: https://github.com/rails/rails/issues/5502