Uploaded image for project: 'Couchbase Ruby client library'
  1. Couchbase Ruby client library
  2. RCBC-32

client.design_docs['docName'] returns empty hash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Major
    • None
    • 1.2.0.dp
    • library
    • Security Level: Public
    • None

    Description

      I got this report from a user:

      The ruby client does not work as api describes, using couchbase gem 1.2.0.dp:

      view = client.design_docs['docName'].viewName(params)

      where docName, viewName and params are correctly substituted does not work for us, in fact client.design_docs['docName'] always return an empty hash for us.

      The other approach does work however

      view = Couchbase::View.new(client, "_design/docName/_view/viewName", params)

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            avsej Sergey Avseyev
            TimSmith Tim Smith (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes

                PagerDuty