DataMapper VS Mongoid

Compare DataMapper vs Mongoid and see what are their differences.

DataMapper

By datamapper

Mongoid

The Official Ruby Object Mapper for MongoDB (by mongodb)
Our great sponsors
  • Onboard AI - Learn any GitHub repo in 59 seconds
  • InfluxDB - Collect and Analyze Billions of Data Points in Real Time
  • SaaSHub - Software Alternatives and Reviews
DataMapper Mongoid
0 6
771 3,913
- -0.0%
0.0 7.2
- 8 days ago
Ruby Ruby
- MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

DataMapper

Posts with mentions or reviews of DataMapper. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning DataMapper yet.
Tracking mentions began in Dec 2020.

Mongoid

Posts with mentions or reviews of Mongoid. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-07.
  • A routine gem update ended up creating $73k worth of subscriptions
    4 projects | news.ycombinator.com | 7 Jan 2022
    The changelog for 7.1 (https://github.com/mongodb/mongoid/blob/master/docs/release-...) even explicitly call this out as a breaking change:

    *Breaking change:* In Mongoid 7.1, when condition methods are invoked on a

    4 projects | news.ycombinator.com | 7 Jan 2022
    The mongoid repository (https://github.com/mongodb/mongoid) doesn't have issues turned on and instead points people to JIRA. That's one way to avoid users reporting issues like this - I'd see JIRA and "nope" right out.
    4 projects | news.ycombinator.com | 7 Jan 2022
  • Unable to build and deploy Rails 6.0.4.1 app on heroku - Throws gyp verb cli error
    7 projects | /r/Heroku | 17 Dec 2021
    source 'https://rubygems.org' git_source(:github) { |repo| "https://github.com/#{repo}.git" } ruby '2.7.3' # Bundle edge Rails instead: gem 'rails', github: 'rails/rails' gem 'rails', '~> 6.0.3', '>= 6.0.3.7' gem 'mongoid', git: 'https://github.com/mongodb/mongoid.git' # Use Puma as the app server gem 'puma', '~> 4.1' # Use SCSS for stylesheets gem 'sass-rails', '>= 6' # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker gem 'webpacker', '~> 4.0' # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks gem 'turbolinks', '~> 5' # Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder gem 'jbuilder', '~> 2.7' # Use Redis adapter to run Action Cable in production # gem 'redis', '~> 4.0' # Use Active Model has_secure_password # Use Active Storage variant # gem 'image_processing', '~> 1.2' gem 'axlsx' gem 'caxlsx_rails' #Bootstrap for UI gem 'bootstrap', '~> 5.1.0' gem 'bootstrap-timepicker-rails', '~> 0.1.3' gem 'bootstrap-select-rails', '~> 1.6', '>= 1.6.3' #JQuery Rails gem 'jquery-rails' gem 'rails_12factor', group: :production # Reduces boot times through caching; required in config/boot.rb gem 'bootsnap', '>= 1.4.2', require: false group :development, :test do # Call 'byebug' anywhere in the code to stop execution and get a debugger console gem 'byebug', platforms: [:mri, :mingw, :x64_mingw] end group :development do # Access an interactive console on exception pages or by calling 'console' anywhere in the code. gem 'web-console', '>= 3.3.0' gem 'listen', '~> 3.2' gem 'pry' # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring gem 'spring' gem 'spring-watcher-listen', '~> 2.0.0' end group :test do # Adds support for Capybara system testing and selenium driver gem 'capybara', '>= 2.15' gem 'selenium-webdriver' # Easy installation and use of web drivers to run system tests with browsers gem 'webdrivers' gem 'cucumber-rails', require: false gem 'database_cleaner' end # Windows does not include zoneinfo files, so bundle the tzinfo-data gem gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby] #HTTParty for RESTful API calls gem 'httparty' #Paperclip for storing files gem 'paperclip' gem "mongoid-paperclip", :require => "mongoid_paperclip" gem "letter_opener", :group => :development r

What are some alternatives?

When comparing DataMapper and Mongoid you can also consider the following projects:

Sequel - Sequel: The Database Toolkit for Ruby

ROM - Data mapping and persistence toolkit for Ruby

MongoMapper - A Ruby Object Mapper for Mongo

ActiveRecord

Hanami::Model - Ruby persistence framework with entities and repositories

NoBrainer - Ruby ORM for RethinkDB

Redis-Objects - Map Redis types directly to Ruby objects

Guacamole

Ohm - Object-Hash Mapping for Redis