upgraded couchrest for 080

This commit is contained in:
Chris Anderson 2008-07-04 16:56:09 -07:00
parent db20bc4101
commit 915905ca13
9 changed files with 40 additions and 20 deletions

View file

@ -40,7 +40,11 @@ end
puts attachments.keys.inspect
doc = @db.get(dirname) rescue nil
begin
doc = @db.get(dirname)
rescue RestClient::Request::RequestFailed
doc = nil
end
# puts "get: #{doc.inspect}"