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: 58,444 of 187,988
Downloads: 17,968

Daily

Ranking: 25,956 of 187,967
Downloads: 7

Depended by

RankDownloadsName
37,32432,704indexed_search

Depends on

RankDownloadsName
44685,225,622rails
99429,186,832simplecov
275167,610,215sqlite3
1,10839,515,294shoulda
11,534218,196valium

Owners

#GravatarHandle
1icondburry