RubyGems.org

each_batched

0.1.3

ActiveRecord::Batches#find_in_batches has some gotchas. This library provides alternate algorithms that may better suit you, in certain circumstances. Specifically: you can order your results other than by primary key, and you can limit your batches to just a certain range of results not only all records.

installgem install each_batched
Authors

David Burry

1,724 total downloads 246 for this version
Owners

69a7bbe1ddad0396f57f2ff4eca528e8

Gemfile
gem "each_batched", "~> 0.1.3"
Versions
  1. 0.1.3 March 17, 2013
  2. 0.1.2 February 11, 2013
  3. 0.1.1 November 7, 2012
  4. 0.1.0 September 11, 2011
Runtime Dependencies
  1. rails >= 3.0
  2. valium >= 0