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,549 of 197,085
Downloads: 18,736

Daily

Ranking: 55,182 of 197,066
Downloads: 1

Depended by

RankDownloadsName
38,88634,149indexed_search

Depends on

RankDownloadsName
45796,157,597rails
98505,778,426simplecov
285196,939,989sqlite3
1,06347,958,581shoulda
12,372223,916valium

Owners

#GravatarHandle
1icondburry