diff options
-rw-r--r-- | files/couch-doc-update | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/couch-doc-update b/files/couch-doc-update index 47b89a4..242ed14 100644 --- a/files/couch-doc-update +++ b/files/couch-doc-update @@ -83,7 +83,7 @@ end def read_file(filename) data = MultiJson.load( IO.read(filename) ) # strip off _id and _rev to avoid conflicts - data.reject! {|k,v| k.start_with? '_'} + data.delete_if {|k,v| k.start_with? '_'} end # |