ORM/ODM

ORM/ODM

Newest releases
12

abicky ActiveRecord::DebugErrors ActiveRecord::DebugErrors is an extension of activerecord to display useful debug logs on errors. Installation Add this line
 
12

fabrikatorio Sortiri is a clean and lightweight solution for making ActiveRecord::Base objects sortable.
 
244

jhollinger Occams Record Do not multiply entities beyond necessity. -- Occam's Razor OccamsRecord is a high-efficiency, advanced query library for use alongside ActiveRecord. It is not an ORM or an ActiveRecord replacement.
 
665

nullobject Rein Data integrity is a good thing. Constraining the values allowed by your application at the database-level, rather than at the application-level, is a more robust way of ensuring your data stays sane. Unfortunate
 
92

khiav223577 RailsOr rails_or is a Ruby Gem for you to write cleaner OR query. It will use built-in or method, which was added in Rails 5, when possible, so that you don't need to worry about that it will polulate active_mode
 
4.9k

mbleigh Table of Contents generated with DocToc ActsAsTaggableOn Installation Post Installation For MySql users Usage Finding most or least used tags Finding Tagged Objects
 
382

mongoid mongoid-history Mongoid-history tracks historical changes for any document, including embedded ones. It achieves this by storing all history tracks in a single collection that you define. Embedded documents are ref
 
307

benedikt mongoid-tree A tree structure for Mongoid documents using the materialized path pattern Requirements mongoid (>= 4.0, < 8.0) For a mongoid 3.x compatible version, please use mongoid-tree 1.0.x,
 
1.7k

ClosureTree Closure Tree Closure_tree lets your ActiveRecord models act as nodes in a tree data structure Common applications include modeling hierarchical data, like tags, threaded comments, page graphs in CMSes, and tr
 
556

amerine ActsAsTree ActsAsTree extends ActiveRecord to add simple support for organizing items into parent–children relationships. By default, ActsAsTree expects a foreign key column called parent_id. Example cl
 
3.4k

stefankroes Ancestry Ancestry is a gem that allows the records of a Ruby on Rails ActiveRecord model to be organised as a tree structure (or hierarchy). It uses a single database column, using the materialised path pattern. It
 
672

ledermann Unread Ruby gem to manage read/unread status of ActiveRecord objects - and it's fast. Features Manages unread records for anything you want readers (e.g. users) to read (like messages, documents, comm
 
245

cmu-is-projects What is Ferry? Ferry is a command-line tool rubygem designed for Rails data migrations and manipulation, primarily maintained as an open-source project by the students of Carnegie Mellon's Information Systems depar
 
2.8k

public-activity PublicActivity public_activity provides easy activity tracking for your ActiveRecord, Mongoid 3 and MongoMapper models in Rails 3.0 - 5.0. Simply put: it records what has been changed or created and gives you the abi
 
1.5k

merit-gem Merit Merit adds reputation behavior to Rails apps in the form of Badges, Points, and Rankings. Table of Contents Installation Badges Creating Badges Example Defining
 
1.5k

ryanto Acts As Votable (aka Acts As Likeable) Acts As Votable is a Ruby Gem specifically written for Rails/ActiveRecord models. The main goals of this gem are: Allow any model to be voted on, like/dislike, upvote/downvo
 
334

continuum ActiveImporter ![Gitter](https://badges.gitter.im/Join Chat.svg) Define importers that load tabular data from spreadsheets or CSV files into any ActiveRecord-like ORM. Installation Add this line to your app
 
1.3k

twitter ActiveRecord Reputation System The Active Record Reputation System helps you build the reputation system for your Rails application. It allows Active Record to have reputations and get evaluated by other records. This
 
859

tcocca acts_as_follower¶ ↑ acts_as_follower is a gem to allow any model to follow any other model. This is accomplished through a double polymorphic relationship on the Follow model. There is also built in support for blocking
 
1.2k

ErwinM Acts As Tenant Note: acts_as_tenant was introduced in this blog post. This gem was born out of our own need for a fail-safe and out-of-the-way manner to add multi-tenancy to our Rails app through a shared database st
 
2.5k

influitive Apartment Multitenancy for Rails and ActiveRecord Apartment provides tools to help you deal with multiple tenants in your Rails application. If you need to have certain data sequestered based on account or company,
 
210

drecom ActiveRecord::Turntable ActiveRecord::Turntable is a database sharding extension for ActiveRecord. Dependencies activerecord(>=5.0.0, <6.0) Current latest stable branch is stable branch. If
 
2.7k

rubysherpas Notice: paranoia has some surprising behaviour (like overriding ActiveRecord's delete and destroy) and is not recommended for new projects. See discard's README for more details. Paranoia will continue to accept bug fixes and su
 
1.6k

basecamp marginalia Attach comments to your ActiveRecord queries. By default, it adds the application, controller, and action names as a comment at the end of each query. This helps when searching log files for queries, and se
 
3k

collectiveidea Audited Audited (previously acts_as_audited) is an ORM extension that logs all changes to your models. Audited can also record who made those changes, save comments and associate models related to the changes. Audit
 
252

jgaskins Perpetuity Perpetuity is a simple Ruby object persistence layer that attempts to follow Martin Fowler's Data Mapper pattern, allowing you to use plain-old Ruby objects in your Ruby apps in order to decouple your domai
 
1.3k

ActsAsParanoid ActsAsParanoid A Rails plugin to add soft delete. This gem can be used to hide records instead of deleting them, making them recoverable later. Support This branch targets Rails 5.2+ and Ruby 2.4+ only I
 
2k

rom-rb rom Ruby Object Mapper (rom-rb) is a data mapping and persistence toolkit for Ruby with the goal to provide powerful object mapping capabilities without limiting the full power of your database. Main rom gem p
 
2.1k

nateware Redis::Objects - Map Redis types directly to Ruby objects This is not an ORM. People that are wrapping ORM’s around Redis are missing the point. The killer feature of Redis is that it allows you to perform atomic op
 
431

hanami Hanami::Model A persistence framework for Hanami. It delivers a convenient public API to execute queries and commands against a database. The architecture eases keeping the business logic (entities) separated from deta
 
1.4k

soveran Ohm ॐ Object-hash mapping library for Redis. Description Ohm is a library for storing objects in Redis, a persistent key-value database. It has very good performance. Community Join the mailing l
 
61

arangodb-helper Guacamole This gem is not maintained and not compatible with the current version of ArangoDB. If you want to take over the project, please contact [email protected] Guacamole is an Object Document Mapper (ODM) f