Hanami for Rails Developers: Part 2: Controllers

16 · Ryan Bigg · Oct. 5, 2025, 11:44 a.m.
Summary
This blog post is the second part of a series on using Hanami for Rails developers, focusing on how to handle controllers and routes within a Hanami application. It explains how to set up routing, actions, and views, highlighting key differences from Ruby on Rails. Practical code examples are provided for creating routes and fetching data from a database, as well as handling parameters for displaying data based on user input.