Mongoid VS Hanami::Model

Compare Mongoid vs Hanami::Model and see what are their differences.

Our great sponsors
  • Scout APM - Less time debugging, more time building
  • SonarQube - Static code analysis for 29 languages.
  • SaaSHub - Software Alternatives and Reviews
Mongoid Hanami::Model
5 1
3,891 432
0.2% 0.2%
9.6 1.8
5 days ago 3 months ago
Ruby Ruby
MIT License 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.

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.
  • How a routine gem update ended up creating $73k worth of subscriptions
    1 project | reddit.com/r/programming | 7 Jan 2022
    I'm guessing it's 7.1 that broke it ?
  • 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 | reddit.com/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

Hanami::Model

Posts with mentions or reviews of Hanami::Model. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-20.

What are some alternatives?

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

ActiveRecord

MongoMapper - A Ruby Object Mapper for Mongo

Sequel - Sequel: The Database Toolkit for Ruby

ROM - Data mapping and persistence toolkit for Ruby

Redis-Objects - Map Redis types directly to Ruby objects

Neo4j.rb - An active model wrapper for the Neo4j Graph Database for Ruby.

DataMapper

Perpetuity - Persistence gem for Ruby objects using the Data Mapper pattern