5 best Ruby Document Database libraries in 2023
by Open Weaver kits ✔ Updated: Feb 12, 2023
Ruby Document Database is a database that can store documents as the name suggests. The documents are stored in a key value pair format, which is very similar to how you would use a Hash. The document database has been used in many popular applications such as Facebook and Github. The reason why it is so popular is because of its simplicity to use queries and because it works best with JSON data. mongify provides an ActiveRecord-like interface for working with MongoDB objects. It includes support for defining the schema for the models you are using, creating model instances and saving them back to the database. post_json provides a way to serialize a Ruby object into JSON and then save it to MongoDB as a BSON document. If you have an existing application that uses ActiveRecord or Mongoid and want to integrate with MongoDB without changing much in your code base, this library is good choice. serenity provides a simple way to create and delete documents in MongoDB via CRUD operations without having to worry about saving them through ActiveRecord or Mongoid classes. This library is useful if you want to use MongoDB as your data store without getting involved in the details of how it works. There are several popular open source Ruby Document Database libraries available for developers
Mongify allows you to map your data from a sql database and into a mongodb document database.
Ruby 312 Version:Current License: Permissive (MIT)
A Fast and Flexible Document Database by Combining Features of Ruby and PostgreSQL with PLV8
Ruby 175 Version:Current License: Permissive (MIT)
RubyMotion wrapper for NanoStore, a lightweight schema-less key-value document database based on sqlite.
Ruby 106 Version:Current License: Others (Non-SPDX)
Embedded ruby for Open Office documents. You provide .odt template and data and Serenity generates the document. Great for creating dynamic reports.
Ruby 94 Version:Current License: Permissive (MIT)
Provides a simple DSL to extract data from XML documents
Ruby 7 Version:v0.6.0 License: Permissive (MIT)