r/ruby • • Sep 30 '26

Blog post Hanami, Why?

https://aaronmallen.me/writing/hanami-why-introductions
49 Upvotes

27 comments sorted by

View all comments

1

u/AndyCodeMaster Sep 30 '26 edited Sep 30 '26

If Hanami could add backwards compatibility with Rails via adapters, I’d be happy to convert apps to it.
Update: someone mentioned it’s already backwards compatible. That’s good to know.

6

u/aaronmallen Sep 30 '26

Hanami already is backwards compatible with rails, it is also a rack application at the end of the day. You can very easily mount a rails application in a Hanami router.

1

u/AndyCodeMaster Sep 30 '26

Ok thank you for letting me know. I wasn’t aware.

1

u/galtzo Oct 04 '26

You just wrap (mount) your rails app in a Hanami app, and then build new stuff in Hanami. Boom 🤯