Categories: None [Edit]

each_batched

https://rubygems.org/gems/each_batched
https://github.com/dburry/each_batched
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.

Total

Ranking: 59,402 of 193,030
Downloads: 18,498

Daily

Ranking: 70,942 of 193,008
Downloads: 2

Depended by

RankDownloadsName
38,08433,735indexed_search

Depends on

RankDownloadsName
44745,921,375rails
97468,610,131simplecov
279183,243,759sqlite3
1,07644,454,353shoulda
12,092220,035valium

Owners

#GravatarHandle
1icondburry