spree/spree — pull request #4472 by brchristian (2014-03-19 22:03:10+00:00)
Title: Using `find_each` instead of `all.each`

It's unlikely that a Spree store will have a dramatic number of ShippingMethods, but if so, a call to `find_each` rather than `all.each` will reduce the memory footprint of the migration by processing them in batches.