Permalink
Browse files

I suck

  • Loading branch information...
1 parent 766d5fc commit 9ea912326e8093b1184c16e6f477a06e6834a930 @Bluebie committed May 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/chill.rb
View
@@ -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)

0 comments on commit 9ea9123

Please sign in to comment.