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,198 of 186,954
Downloads: 17,602

Daily

Ranking: 37,346 of 186,947
Downloads: 8

Depended by

RankDownloadsName
36,78032,515indexed_search

Depends on

RankDownloadsName
43664,808,165rails
99417,277,843simplecov
275162,347,314sqlite3
1,10838,050,189shoulda
11,357217,732valium

Owners

#GravatarHandle
1icondburry