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: 56,674 of 180,418
Downloads: 16,155

Daily

Ranking: 50,324 of 180,402
Downloads: 5

Depended by

RankDownloadsName
34,94330,517indexed_search

Depends on

RankDownloadsName
42513,790,016rails
102311,062,267simplecov
238132,329,238sqlite3
1,07627,978,112shoulda
10,101214,581valium

Owners

#GravatarHandle
1icondburry