Home / Companies / Cockroach Labs / Blog / Post Details
Content Deep Dive

CockroachDB + ActiveRecord (and Ruby on Rails!)

Blog post from Cockroach Labs

Post Details
Company
Date Published
Author
Jordan Lewis
Word Count
1,222
Company Posts That Month
3
Language
English
Hacker News Points
-
Post removed?
No
Summary

Since initially publishing their post in 2017, Cockroach Labs has completed full support for Active Record and now fully supports Common Table Expressions. The company aims to make CockroachDB a user-friendly, scalable, and robust SQL database, which led them to provide support for popular ORMs like ActiveRecord, the ORM behind Ruby on Rails. While initially facing challenges due to the PostgreSQL wire protocol, the company adopted a hybrid approach by creating a lightweight ActiveRecord adapter gem, which extends from the existing Postgres adapter to modify unsupported features such as Common Table Expressions. This gem allows Rails users to utilize CockroachDB as their backend database with minimal configuration changes, and Cockroach Labs encourages developers to provide feedback to further improve the integration.

Trends Found in this Post

No tracked trend matches for this post yet.

Use This Data

Use this post, company, and trend context to find content marketing opportunities, perform competitive analysis, or address product feature gaps via the Plushcap MCP server or the Plushcap API.