Blogs : Ruby SDK

2 months 1 week ago

4 Ways to make Couchbase do the hard work: Part II

The query we wrote in the last article allowed us to group new users by year,month,day and so on but also allowed us to retreive a count of how many users had joined between specific dates...
2 months 2 weeks ago

4 Ways to make Couchbase do the hard work: Part I

Views are the Couchbase way of generating indices so that you can query your data on attributes other than the document key. In this article we are going to explore the Map Reduce system of...
Tags:   Ruby SDK Map Reduce
4 months 1 week ago

Couchbase on Heroku

Today we’re announcing the availability of the KuroBase maintained, Couchbase enabled, Heroku Buildpacks for Ruby and NodeJS. Now you can easily get your Couchbase powered Ruby or NodeJS...
5 months 1 week ago

Optimistic Locking With Couchbase and Ruby

Concurrent modification of shared data can be a problem in any distributed system regardless of what data store you are using. With ACID-compliant relational databases, a common tactic is...
7 months 3 days ago

Ruby on Rails and Couchbase-Model for a Social Application!

Also using HAML, SASS, Bootstrap, And Twitter OmniAuth... Before we start – Here’s the GitHub code for this App… We recently had our 3rd Couchbase San Francisco conference which, by the way...
8 months 2 weeks ago

Multiple Bucket Connections in Couchbase and Ruby

c = Couchbase.new(" http://localhost:8091/pools/default/buckets/my-bucket ") I believe it’s safe to say we are mostly all familiar with the above Ruby code. It establishes a connection from...
11 months 4 weeks ago

Handling Runtime Errors in Ruby, Python and C Clients

Every app will eventually have to deal with an exception - runtime errors occur unexpectedly and your app must know how to deal with them and recover. It’s always good when error handling...
1 year 2 months ago

Using Couchbase Ruby Gem with EventMachine

As you may have noticed the new couchbase ruby gem has been released recently. The release 1.2.2 is mostly a maintenance release with several bug fixes, but yet you can try one new...