How to access development view using Ruby SDK?
I created development view in the beer-sample bucket with the name 'by_location'. I can see it in couchbase console when I select Views->beer-sample->Development Views. It is in _design/dev_beer. In the code I am trying to access it:
client = Couchbase.new("http://localhost:8091/pools/default/buckets/beer-sample")
ddocs = client.design_docs['dev_beer']
ddocs is nil
So how to access dev view in Ruby?