Couchbase Questions: Ruby SDK

Have a Question? Get it answered by our community

vipwildstar's picture
Asked 3 days 11 hours ago

a decision on Cheap Aion Kinah specific lesser

a decision on Cheap Aion Kinah specific lesser recognized people by suggests of film as they have specific exceptional characteristics. Whichever you ultimately choose, when you find yourself play,

consistently check out to the harm location and how plenty of your efforts might be...

kensyuu's picture
Asked 2 weeks 6 days ago
Latest activity 2 weeks 2 days ago

Couchbase memcached expiration

Hi all,

I am working Couchbase with Ruby on Rails, after googling, I have written below code base on what I've found from the Internet.

config/environments, development.rb, production.rb and test.rb
config....

kensyuu's picture
Asked 3 weeks 3 days ago

Protect_from_Forgery usage

Hi All,

I just get my hands on protect_from_forgery, and I have written something simple login as below:

my client-side

        WWWForm form = new WWWForm();
        form.AddField("id",
...
takach's picture
Asked 2 months 2 weeks ago

No more bootstrap providers remain?

I'm developing a multi threaded rails application and see this error in production quite often:
No more bootstrap providers remain (error=0x17)

There doesn't seem to be any issue with couchbase itself and I don't need to have too many concurrent requests before this issue starts...

buger's picture
Asked 4 months 1 week ago
Latest activity 3 months 1 week ago

Error after updating libcouchbase from 2.2 to 2.3

After updating design_docs query shows error:

Couchbase.connect("http://localhost:8091/").design_docs
Couchbase::Error::Invalid: failed to schedule document request (key="/pools/default/buckets/
...
buger's picture
Asked 4 months 2 weeks ago
Latest activity 4 months 2 weeks ago

Segfault when trying to use :observe option

The only change in code is added :observe => {:persisted => 1} to set operation.

Here is what happens: https://gist.github.com/buger/01239d8ffe22b0f3ffca
Bug happen when using eventmachine engine. Do not see...

buger's picture
Asked 5 months 2 weeks ago
Latest activity 4 months 1 week ago

Error while using ruby sdk with EventMachine

I'm getting this error when trying to start your goliath example:

couchbase-ruby-client/examples/chat-goliath-grape# ruby app.rb -sv 
[26428:INFO] 2014-03-04 15:59:43 :: Starting server on 0.0.0.0:
...
aso's picture
Asked 6 months 2 days ago
Latest activity 6 months 2 days ago

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("...

drami's picture
Asked 6 months 5 days ago
Latest activity 6 months 3 days ago

Couchbase gem v=1.3.5 fail

My environment:

Windows 7 64bits
Ruby 1.9.3
Rails 3.2

Steps:
Create new app:

rails new couchbase_example -O

Add to Gemfile:

gem 'couchbase'
gem 'couchbase-model'

run:

bundle install

The gem are...

aso's picture
Asked 6 months 1 week ago
Latest activity 1 month 2 days ago

unable to install couchbase gem v. 1.3.5 on windows 7

Environment - Windows 7 Professional (64), Ruby 1.9.3 p.484

gem install couchbase

Fetching: yaji-0.3.5-x86-mingw32.gem (100%)
Successfully installed yaji-0.3.5-x86-mingw32
Fetching: connection_pool-1.2.0.gem (100%)
Successfully installed connection_pool-1.2.0...

Pages