Skip to content

Instantly share code, notes, and snippets.

@bkeepers
Created Jul 23, 2008
Embed
What would you like to do?
def slow_each(options, &block)
0.step(count(options), options[:limit]) do |offset|
find(:all, options.merge(:offset => offset)).each(&block)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment