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: 59,250 of 192,323
Downloads: 18,423

Daily

Ranking: 155,533 of 192,290
Downloads: 0

Depended by

RankDownloadsName
38,09233,449indexed_search

Depends on

RankDownloadsName
44736,643,863rails
99461,851,903simplecov
279180,273,904sqlite3
1,07843,744,923shoulda
11,897219,803valium

Owners

#GravatarHandle
1icondburry