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: 60,268 of 196,612
Downloads: 18,690

Daily

Ranking: 35,489 of 196,584
Downloads: 1

Depended by

RankDownloadsName
38,74234,024indexed_search

Depends on

RankDownloadsName
45784,370,991rails
98497,570,226simplecov
282194,072,413sqlite3
1,06547,253,342shoulda
12,302223,401valium

Owners

#GravatarHandle
1icondburry