4 ms·
I’ve been doing Rails development for 10 years now and I just don’t think it’s possible to safely update anything in Ruby. Our app has 20,000 rspec unit tests a
by Gigachad 4y ago
I’ve been doing Rails development for 10 years now and I just don’t think it’s possible to safely update anything in Ruby. Our app has 20,000 rspec unit tests and 5,000 cypress browser automation tests and basically every ruby patch version creates breakages that somehow slip through all of that despite nothing being mentioned in the changelogs.
- xiphias2 4y agoWhat about recording and replaying traffic to the servers? It's not a magical solution, but it should catch regressions.
- Gigachad 4y agoReplicating the production env to do that sounds beyond our capabilities tbh. We are slowly replacing Ruby with typed languages like TS and Rust which is working wonders for reliability.
- xiphias2 4y agoGreat, it's just a usual extra tool, although RoR is amazing, I fell in love with SvelteKit