Category: Ruby

Hello World with Couchbase and Ruby
Hello World with Couchbase and Ruby

For those of you who might have seen my other blog, my goal is to convey the fact that using Couchbase with any of the language client libraries is very straightforward. The client libraries handle the complexity of the connection...

Multiple Bucket Connections in Couchbase and Ruby
Multiple Bucket Connections in Couchbase and Ruby

c = Couchbase.new(“https://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 the Ruby SDK to a bucket of our choosing inside our Couchbase cluster.  There are, of...

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

Learn how to model data with the Couchbase Rails gem Couchbase-Model and how we to Query Views to get specific subsets of data for use in our application.

Understanding group_level in View Queries with Compound Keys
Understanding group_level in View Queries with Compound Keys

Querying Views is what views are all about. Our documentation is great and can be found here: https://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views.html Compound Keys Just to illustrate how group level works, let’s use a Map function that sorts users by the latest login timestamp, converting...

Understanding Letter Ordering in View Queries
Understanding Letter Ordering in View Queries

Map/Reduce Views are an important part of Couchbase 2.0 and understanding how to query them is also important. Our documentation is great and can be found here: https://www.couchbase.com/docs/couchbase-manual-2.0/couchbase-views.html One of the subtleties is understanding Unicode Collation ordering of letters which is...

Using Couchbase Ruby Gem with EventMachine
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 experimental feature: integration with EventMachine library. This...

10 Things Developers Should Know about Couchbase
10 Things Developers Should Know about Couchbase

Learn the top 10 list of things that Developers must know about the Couchbase to be a good Couchbase developer and to build an app using Couchbase.