each_batched 0.1.0
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.
Gemfile:
=
クリップボードにコピー
コピー完了!
インストール:
=
Runtime依存関係 (1):
rails
>= 3.0