Category: 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!
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
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
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
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...
Top Posts
- Data Modeling Explained: Conceptual, Physical, Logical
- What are Embedding Models? An Overview
- Data Analysis Methods: Qualitative vs. Quantitative Techniques
- What Is Data Analysis? Types, Methods, and Tools for Research
- Application Development Life Cycle (Phases and Management Models)
- Vector Database Use Cases: Search, RAG, and AI Apps
- What are Vector Embeddings?
- Data Normalization vs. Denormalization Comparison
- High Availability Architecture: Requirements & Best Practice...