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,447 of 197,051
Downloads: 18,733

Daily

Ranking: 67,605 of 197,010
Downloads: 0

Depended by

RankDownloadsName
38,86034,146indexed_search

Depends on

RankDownloadsName
45795,583,722rails
98505,449,469simplecov
285196,796,104sqlite3
1,06347,924,033shoulda
12,370223,859valium

Owners

#GravatarHandle
1icondburry