That is every project when the team is dysfunctional. Your language won't save you.
It's also the case that different teams can write it pretty differently, depending on gem choices and which Rails features they lean on. Plenty of other languages and ecosystems are like that, too, but all the above stuff means Rails is exceptionally bad, in that regard.
The worst code bases I’ve worked on used statically typed Java.
Except of course that now it does.
So worst case if you inherit a codebase without static types added you can use gradual type as you get to know it.