From 01dc72c8347df8ce97114e55a14ec6bfcdeded32 Mon Sep 17 00:00:00 2001 From: Jim Menard Date: Mon, 26 Jan 2009 13:30:42 -0500 Subject: [PATCH] Fixed OrderedHash#delete --- lib/mongo/util/ordered_hash.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/mongo/util/ordered_hash.rb b/lib/mongo/util/ordered_hash.rb index faaf4b7..ce459ba 100644 --- a/lib/mongo/util/ordered_hash.rb +++ b/lib/mongo/util/ordered_hash.rb @@ -64,7 +64,7 @@ class OrderedHash < Hash end def delete(key, &block) - @ordered_keys.delete(key) + @ordered_keys.delete(key) if @ordered_keys super end