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: 61,014 of 199,228
Downloads: 18,930

Daily

Ranking: 46,524 of 199,184
Downloads: 10

Depended by

RankDownloadsName
39,21434,441indexed_search

Depends on

RankDownloadsName
46824,903,175rails
97526,029,737simplecov
287204,093,631sqlite3
1,05949,643,563shoulda
12,464227,750valium

Owners

#GravatarHandle
1icondburry