Permalink
Browse files

Ooops, no need to clear options.

  • Loading branch information...
dblock committed Mar 27, 2012
1 parent a01f52a commit 920d1d45c4f33aaf9b0f08512b82fc70243d07bf
Showing with 1 addition and 2 deletions.
  1. +1 −2 lib/garb/model.rb
View
@@ -47,7 +47,6 @@ def results(profile, options = {})
def all(profile, options = {}, &block)
limit = options.delete(:limit)
total = 0
- options = {}
while ((rs = results(profile, options)) && rs.any?)
rs.each do |r|
yield r
@@ -101,4 +100,4 @@ def format_time(t)
t.strftime('%Y-%m-%d')
end
end
-end
+end

0 comments on commit 920d1d4

Please sign in to comment.