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,155 of 186,698
Downloads: 17,395

Daily

Ranking: 36,242 of 186,685
Downloads: 10

Depended by

RankDownloadsName
36,52032,478indexed_search

Depends on

RankDownloadsName
43657,160,940rails
99412,766,531simplecov
276159,966,194sqlite3
1,11337,515,927shoulda
11,329216,427valium

Owners

#GravatarHandle
1icondburry