Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong initialize signature in request.rb when calling Bulk Document #59

Open
brlanier opened this issue Jul 21, 2015 · 2 comments
Open
Labels
Milestone

Comments

@brlanier
Copy link
Member

From @javierg in testing something else

+++ b/lib/dolly/request.rb
@@ -19,7 +19,7 @@ module Dolly
       @password      = options["password"]
       @protocol      = options["protocol"]

-      @bulk_document = Dolly::BulkDocument.new []
+      @bulk_document = Dolly::BulkDocument.new self, []
       self.class.base_uri "#{protocol}://#{host}:#{port}"
     end
@javierg
Copy link
Member

javierg commented Jul 21, 2015

BulkDocument initializer expects first argument to be the current database connection

@javierg
Copy link
Member

javierg commented Aug 13, 2015

The signature used in Request initalizing the BulkDocument instance is wrong.

@javierg javierg added this to the 1.0 RC milestone Aug 13, 2015
@javierg javierg added the bug label Aug 13, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants