3 ms·
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 rew
by ezekg 5y ago
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.
- nullbytesmatter 5y agoThere 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).