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,627 of 188,757
Downloads: 18,120

Daily

Ranking: 87,276 of 188,742
Downloads: 0

Depended by

RankDownloadsName
37,56532,915indexed_search

Depends on

RankDownloadsName
44698,291,560rails
99437,027,655simplecov
276170,904,501sqlite3
1,10540,609,388shoulda
11,614218,442valium

Owners

#GravatarHandle
1icondburry