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,715 of 197,744
Downloads: 18,766

Daily

Ranking: 57,584 of 197,724
Downloads: 2

Depended by

RankDownloadsName
38,99434,201indexed_search

Depends on

RankDownloadsName
44804,971,962rails
97511,923,440simplecov
285199,063,254sqlite3
1,05948,461,763shoulda
12,414224,381valium

Owners

#GravatarHandle
1icondburry