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: 57,519 of 183,477
Downloads: 16,772

Daily

Ranking: 30,305 of 183,470
Downloads: 2

Depended by

RankDownloadsName
35,67731,644indexed_search

Depends on

RankDownloadsName
41573,259,067rails
98353,748,210simplecov
259143,118,777sqlite3
1,08632,455,782shoulda
10,691215,431valium

Owners

#GravatarHandle
1icondburry