I notice that there is a method in the Ruby SDK that does something like creating a new bucket. May I know if I can use that if I need to create a new Bucket though Ruby/ Rails and if there are any sample code for it.
You would like to use
c = Couchbase::Cluster.net(:username => "Administrator", :password => "123456")
c.create_bucket("foo", :ram_quota => 300)
More info in official API docs: http://www.couchbase.com/autodocs/couchbase-ruby-client-1.3.0/Couchbase/...
But there is a bug in recent version which fixed, but will be released with 1.3.1. You can apply this patch to 1.3.0 and the code above will work perfectly: http://review.couchbase.org/26710
Find me on FreeNode IRC in #libcouchbase channel
Btw I've released 1.3.1 yesterday https://rubygems.org/gems/couchbase/versions/1.3.1
Thanks I got it
© 2013 COUCHBASE All rights reserved.