Guest User

Untitled

a guest
Feb 19th, 2018
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. def slow_each(options, &block)
  2. 0.step(count(options), options[:limit]) do |offset|
  3. find(:all, options.merge(:offset => offset)).each(&block)
  4. end
  5. end
Add Comment
Please, Sign In to add comment