News for hackers. Stuff that matters.
Re:Rails Migration Memory Therapy by rufo on Monday May 25, 2009 @03:44PM (#625796)
This. Model.transaction do ... end is not that hard.

Also, in Rails 2.3 you can do .find_each, which will iterate over each record in 1000-chunk batches.

There are no comments on this comment yet.