lumoslabs / scripterator

Lightweight script harness and DSL for iterating over and running operations on ActiveRecord model records
MIT License
10 stars 1 forks source link

Add support for batch size and batch callbacks #11

Closed matl33t closed 7 years ago

matl33t commented 7 years ago

lets us specify a batch size thats not 1000

also lets us use

after_batch do
  # do_stuff
end