Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I'm curious what was so hard about upgrading from Rails 5 to Rails 7. The upgrade from 5 to 6 was smooth for me, and 6 to 7 was even smoother.

Seems like a rewrite would be way more effort.



There were many factors. Rails itself isn't too bad to upgrade, but the problem boiled down to various Rails engines (active admin, etc). There came a point where I sat down and had to decide if it was worth de-tangling the mess and potentially breaking a lot of things to upgrade Rails and the various dependencies (only to do this again in 5 years), or possibly build things in a way that would work regardless of the dependencies.

Sure-- the rewrite was more effort up front but the hope was the long term compounding benefits would be worth it. I don't generally advocate for rewrites but in this case I went for it (and actually got it done).




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: