Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

Commit

Permalink
ManyProxy: respond to cursor methods, too
Browse files Browse the repository at this point in the history
  • Loading branch information
mislav committed Sep 12, 2010
1 parent 6a6f76b commit 3dc3a2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/mingo/many_proxy.rb
Expand Up @@ -75,6 +75,10 @@ def delete(doc)
def loaded?
!!@collection
end

def respond_to?(method, priv = false)
super || method_missing(:respond_to?, method, priv)
end

private

Expand Down

0 comments on commit 3dc3a2f

Please sign in to comment.