RubyGems Navigation menu

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.

Gemfile
          gem 'each_batched', '~> 0.1.3'
  
  
  
  
  
  
  

install
          gem install each_batched
  
  
  
  
  
  
  

Authors:

  • David Burry

Owners:

Total downloads 4,045

For this version 987

Required Ruby Version: None

Links:

Versions:

  1. 0.1.3 - March 17, 2013 (58 KB)
  2. 0.1.2 - February 11, 2013 (49.5 KB)
  3. 0.1.1 - November 7, 2012 (41 KB)
  4. 0.1.0 - September 11, 2011 (102 KB)

Runtime Dependencies: