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,857 of 198,430
Downloads: 18,821

Daily

Ranking: 31,045 of 198,401
Downloads: 5

Depended by

RankDownloadsName
39,11134,269indexed_search

Depends on

RankDownloadsName
45815,094,740rails
97518,966,733simplecov
285201,634,282sqlite3
1,05949,064,615shoulda
12,469224,729valium

Owners

#GravatarHandle
1icondburry