Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

I suck

  • Loading branch information...
commit 9ea912326e8093b1184c16e6f477a06e6834a930 1 parent 766d5fc
@Bluebie authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/chill.rb
View
2  lib/chill.rb
@@ -117,7 +117,7 @@ def design name
# #=> {"billy"=>"cool", "margret"=>"not cool", "_id"=>"df2c3d11-d50a-4db9-8f57-04fd4d511ded"}
#
# Returns a ChillDB::Document
- def document _id = false
+ def document id = false
if id.respond_to? :to_ary
list = id.to_ary.map { |i| i.to_s }
response = @@database.http('_all_docs?include_docs=true').post({ keys: list }.to_json)
Please sign in to comment.
Something went wrong with that request. Please try again.