Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Ability to send explicit null as key?

#25

CouchDB often relies on an explicit "null" as a key in a view request. Currently, I can't see any way to duplicate this in CouchRest::Model. It's especially important in startkey/endkey requests as the "opposite" of {}.

Am I missing something, or is this something I need to add myself?

Thanks. And sorry, dev, for the flood of tickets.

Reported by hkstar · November 22nd, 2008 @ 07:56 PM

State: resolved
Milestone: none
Assigned to: J. Chris A. J. Chris A.

Activity

  1. J. Chris A.
    J. Chris A.
    • State changed from new to resolved

    I think Ruby's nil will work just fine, when you want JSON null.

    November 23rd, 2008 @ 10:02 AM

  2. hkstar
    hkstar

    OK, cool, if that's the "official" way to do it. Thanks for the clarification.

    November 23rd, 2008 @ 12:38 PM

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.