Active Record connects classes to relational database tables to establish
an almost zero-configuration persistence layer for applications. The
library provides a base class that, when subclassed, sets up a mapping
between the new class and an existing table in the database. In the context
of an application, these classes are commonly referred to as models.
Models can also be connected to other models; this is done by defining
Active Record relies heavily on naming in that it uses class and association names to establish mappings between respective database tables and foreign key columns. Although these mappings can be defined explicitly, it's recommended to follow naming conventions, especially when getting started with the library.
A short rundown of some of the major features:
ActiveRecord alternatives and similar gems
Based on the "ORM/ODM" category.
Alternatively, view ActiveRecord alternatives based on common mentions on social networks and blogs.
Sequel9.3 6.8 L1 ActiveRecord VS SequelSequel: The Database Toolkit for Ruby
Mongoid9.3 9.3 ActiveRecord VS MongoidThe Official Ruby Object Mapper for MongoDB
Redis-Objects7.7 5.1 L3 ActiveRecord VS Redis-ObjectsMap Redis types directly to Ruby objects
ROM7.7 1.3 L4 ActiveRecord VS ROMData mapping and persistence toolkit for Ruby
MongoMapper7.6 4.6 L5 ActiveRecord VS MongoMapperA Ruby Object Mapper for Mongo
Neo4j.rb7.2 5.9 L4 ActiveRecord VS Neo4j.rbAn active model wrapper for the Neo4j Graph Database for Ruby.
Ohm6.8 0.0 L5 ActiveRecord VS OhmObject-Hash Mapping for Redis
DataMapper5.8 0.0 L4 ActiveRecord VS DataMapperORM which works well with legacy databases. Last release (1.2.0) was on 13 October 2011.
Hanami::Model5.1 0.0 L5 ActiveRecord VS Hanami::ModelRuby persistence framework with entities and repositories
NoBrainer4.1 4.6 L5 ActiveRecord VS NoBrainerRuby ORM for RethinkDB
Perpetuity3.2 0.0 L5 ActiveRecord VS PerpetuityPersistence gem for Ruby objects using the Data Mapper pattern
Guacamole1.8 0.0 L5 ActiveRecord VS GuacamoleAn ODM for ArangoDB.
MongoModel1.5 0.0 L5 ActiveRecord VS MongoModelRuby ORM for MongoDB (compatible with Rails 3)
QuickStore0.3 0.0 ActiveRecord VS QuickStoreSimple local key-value store based on YAML::Store.
Static code analysis for 29 languages.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of ActiveRecord or a related project?