Hanami v1.0+ Snippets for Hanami version greater than 1.0.0

Controller Exception Handling

Learn how to render custom error responses

Learn more
Routes Testing

Unit testing for Hanami routes

Learn more
RESTful Resources

How to setup RESTful resources for Hanami

Learn more
Named Routes

Create unique names for routes to reference them in Hanami apps

Learn more
Mount Applications

Mount Rack based applications in Hanami

Learn more
Router Rack Endpoints

Mount Rack compatible endpoints in router

Learn more
Project Initializers

Setup code while Hanami is booting

Learn more
Log Rotation

Log rotation

Learn more
Basic Logging

Basic logging configuration

Learn more
Custom Rake Tasks

Learn how to add custom Rake tasks to your Hanami project

Learn more
Hanami Repository Bulk Update

Learn how to efficiently update a collection of records

Learn more
Hanami Repository Dynamic Ordering

Learn how to support database records sorting based on user input

Learn more
Hanami Router

hanami-router is a fast, full featured, Rack compatible HTTP router for Ruby. Get started in less …

Learn more
Hanami Logger

Do you know Hanami::Logger is a full featured logger for Ruby? It works with several IO targets, …

Learn more
Try Hanami

Do you want to try Hanami, the modern web framework for Ruby? Run this script to get up and running …

Learn more

Want to learn more about Hanami?

We have written an extensive Getting Started guide for curious people like you.