Chunky Iterator
A code snippet that lets you “iterate over large collections of Active Record objects without having to load them all at once, thus reducing memory usage”.
Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!
A code snippet that lets you “iterate over large collections of Active Record objects without having to load them all at once, thus reducing memory usage”.
Comments
They lose major< street cred for not taking advantage of the perfect opportunity to have a piece of “Chunky Bacon” sample code.
lol - fixed.
Awesome! Awesomely delicious!
Post a comment