rails/rails — pull request #8470 by dpickett (2012-12-09 20:14:33+00:00)
Title: improve has_many destroy dependency memory efficiency

utilize find_in_batches so large collections are loaded in segments to avoid hitting memory limits with large collections