Ruby on Rails VS Hanami

Compare Ruby on Rails vs Hanami and see what are their differences.

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
Ruby on Rails Hanami
476 23
54,998 6,196
0.4% 0.5%
10.0 7.8
3 days ago 5 days 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.

Ruby on Rails

Posts with mentions or reviews of Ruby on Rails. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-08.
  • Should You Use Ruby on Rails or Hanami?
    6 projects | | 8 May 2024
    Industry adoption - Without including the adoption of other popular and more established frameworks like Python, React, C#, and others, if we consider the adoption of Ruby frameworks, Rails easily eclipses Hanami. The Rails homepage lists some big-name organizations using the framework. On the other hand, as the new kid on the block, Hanami is not so widely adopted. We'll have to wait and see whether that will change in the future.
  • Rails Core Classes Method Lookup Changes: A Deep Dive into Include vs Prepend
    2 projects | | 7 May 2024
    on April 23, 2024, a PR #51640 was merged into main branch of Ruby On Rails. This PR title is Use Module#include rather than prepend for faster method lookup.
  • GitHub Incident with Issues, API Requests and Pull Requests
    1 project | | 5 Apr 2024
    [0] is a my favorite demonstration of it.


  • Client side Git hooks 101
    2 projects | | 31 Mar 2024
    Here's a real life example: Imagine a Ruby on Rails app on which a team of developers are working. The code is hosted on GitLab and all the work is coordinated using GitLab issues. In other words: For every commit, there's an associated issue and the issue number acts as a sort of primary key for documentation, time reporting and so forth. This convention has a few advantages, most notably the ability to easily learn more about how, when and by whom features were implemented as well as how this implementation came to be.
  • 16 Best Ruby Frameworks For Web Development [2024]
    6 projects | | 11 Mar 2024
    Ruby on Rails is regarded as one of the best ruby frameworks. It was the primary language in developing big projects such as Twitter and helped the language boost the community. Often referred to as “Rails,” Ruby on Rails is a web development framework with an MVC control structure and currently running its 6.1 version. The 16-year-old language has dramatically influenced the web development structures and managing databases, web pages, and other components on a web application.
  • More control over enum in Rails 7.1
    1 project | | 29 Feb 2024
    In Rails 7.1, a new option _instance_methods is introduced, allowing developers to opt-out of the automatic generation of instance methods for enums. When enum is defined with _instance_methods: false, Rails will no longer generate methods like pending?, processed?, etc.
  • Ruby on Rails load testing habits
    5 projects | | 25 Jan 2024
    Rails isn't super opinionated about database writes, its mostly left up to developers to discover that for relational DBs you do not want to be doing a bunch of small writes all at once.

    That said it specifically has tools to address this that started appearing a few years ago

    The way my team handles it is to stick Kafka in between whats generating the records (for us, a bunch of web scraping workers) and and a consumer that pulls off the Kafka queue and runs an insert when its internal buffer reaches around 50k rows.

    Rails is also looking to add some more direct background type work with but this is still very new - most larger Rails shops are going to be running a second system and a gem called Sidekiq that pulls jobs out of Redis.

  • DHH installing Campfire (37s ONCE #1) [video]
    1 project | | 19 Jan 2024
    I'm looking forward to see what extractions from this will land on rails. For example:
  • First commits in a Ruby on Rails app
    6 projects | | 17 Jan 2024
    Here is what strict_loading does (source):
  • Continuous Deployment with GitHub Actions and Kamal
    4 projects | | 7 Jan 2024
    Kamal is a wonderfully simple way to deploy your applications anywhere. It will also be included by default in Rails 8. Kamal is trivial, but I don’t recommend using it on your development machine.


Posts with mentions or reviews of Hanami. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-05-08.
  • Should You Use Ruby on Rails or Hanami?
    6 projects | | 8 May 2024
    While Rails is very well-known in the Ruby community, Hanami is less so. It's a fairly new modern Ruby framework trying to take on Rails' dominance of the full-stack web framework space.
  • 16 Best Ruby Frameworks For Web Development [2024]
    6 projects | | 11 Mar 2024
    With a clean architectural design and a primary object methodology, Hanami is counted among the best ruby frameworks that have gained popularity as an alternative to Rails. Hanami is “sorted” in design and provides small files that can be used independently to create a project stack. Hanami is lightweight and consumes fewer resources claiming 60% lesser memory than other big Ruby frameworks.
  • Is Ruby a dying language?
    2 projects | /r/ruby | 5 Dec 2023
    No, it's just no longer over-hyped. Ruby is settling into being a mature production language, similar to Python, Java, .NET, C++, etc. As you can see from the RedMonk 2023 data Ruby is very much still alive with tons of repositories on GitHub. Besides Shopify, GitHub is another big Ruby/Rails shop. Also, besides Rails, there are other new and upcoming projects like Hanami, DragonRuby, and Ronin.
  • Web Frameworks actively maintained in 2023?
    7 projects | /r/ruby | 18 Sep 2023
    Hanami 2 (
  • Enhancing development with REPLs - A practical guide
    6 projects | | 3 Sep 2023
    On all my application tutorials I start by setting up an application level REPL, it's basically a console script that loads all the files inside your project, if you're using a framework like Ruby on Rails or Hanami you already have a console by running the command console also.
  • Why are there so many Rails related posts here?
    6 projects | /r/ruby | 7 May 2023
    This is something that kind of annoys me; there's even a /r/rails sub-reddit specifically for Ruby on Rails stuff. Understandably Rails helped put Ruby on the map. Before Rails, Ruby was just another fringe language. Rails became massively popular, helped many startups quickly build their Web 2.0 sites, and become successful companies (ex: GitHub, LinkedIn, AirBnB, etc). Like others have said, "Rails is where the money is at". However, this posses a problem for the Ruby community: whenever Rails becomes less popular, so does Ruby. I wish the Ruby ecosystem wasn't so heavily centralized around Rails, and that we diversified our uses of Ruby a bit. There's of course Sinatra, dry-rb, Hanami, Dragon Ruby, SciRuby, and a dozen security tools written in Ruby such as Metasploit, BeFF, Arachni, and Ronin.
  • Two months into learning Ruby, it is the most beautiful language I ever learned
    5 projects | /r/ruby | 25 Feb 2023
    Welcome! Ruby isn't exactly "dying", but the hype/popularity is definitely fading. This is primarily because Ruby is no longer "new", most of Ruby's popularity came from Rails, and now Rails is no longer the "new hotness". However, Ruby still has lots of awesome features and lots of awesome other libraries and frameworks, such as the new fancy irb gem that uses reline, nokogiri, chunky_png, the async gems, Dragon Ruby, SciRuby, Ronin, and the new Hanami web framework.
  • OOP vs. services for organizing business logic: is there a third way?
    23 projects | | 6 Dec 2022
    Data Oriented Web Development with Ruby (upcoming book) by Peter Solnica, who is on the Hanami core team. Learning Hanami wouldn't be a bad idea either.
  • Understanding Clean Architecture with small Ruby libraries
    6 projects | | 1 Nov 2022
    After about 5 laps around Clean architecture since I came across hanami/hanami: The web, with simplicity., I'm finally getting it down in my gut, so I'll summarize.
  • Utilizando o padrão interactor no Ruby on Rails
    22 projects | | 20 Mar 2022
    View on GitHub

What are some alternatives?

When comparing Ruby on Rails and Hanami you can also consider the following projects:

Roda - Routing Tree Web Toolkit

Sinatra - Classy web-development dressed in a DSL (official / canonical repo)

CodeBehind Framework - CodeBehind library is a modern backend framework. This library is a programming model based on the MVC structure, which provides the possibility of creating dynamic aspx files in .NET Core and has high serverside independence.

Padrino - Padrino is a full-stack ruby framework built upon Sinatra.

Cuba - Rum based microframework for web development.

Volt - A Ruby web framework where your Ruby runs on both server and client

yjit - Optimizing JIT compiler built inside CRuby

Pakyow - Design-First Web Framework