Skip to content

Object Mapper (ORM : ODM) ActiveRecord, Mongoid and co.

Timo Schilling edited this page Nov 1, 2014 · 1 revision

Object Mapper

What's a Object Mapper

There are two kinds of Object Mappers:

  1. Object Relation Mappers (ORM) for relational databases like PostgreSQL or MySQL, the famous one being ActiveRecord.
  2. Object Document Mappers (ODM) for document based databases like MongoDB with Mongoid

Status Quo

At the moment ActiveAdmin fully supports ActiveRecord, and the team is working an supporting Mongoid as well.

Adding other Object Mappers

How it works

ActiveAdmin should work well with all Object Mappers wich are ActiveModel based or supports this api.

Supporting a new Object Mapper

If you want to implement support for a new Object Mapper, take a look at the currently supported Object Mapper. We are happy to get pull requests for new Object Mappers.

Clone this wiki locally