4 ms·
I understand that Mongoid introduced a breaking chnages and should have obviously should have made this breaking change as a part of a major release number. How
by ab_testing 5y ago
I understand that Mongoid introduced a breaking chnages and should have obviously should have made this breaking change as a part of a major release number. However, should'nt the author have tested this in development first and then found out about this as part of his development testing. Any patches that you apply in production should be fully tested before in development, UAT and other instances.
- nightpool 5y agoThis is a deeply fundamental library that's used across their entire app. How likely would the author have been to find this subtle of a bug in such a minor part of their application code, if their app was of any appreciable size? Depending on how their testing environment was set up, they might not even have enough database users in their DB during automated testing to notice this bug if it did trigger.
- mdavidn 5y agoA method that bills customers is not a “minor part” of the application. This is where automated integration tests can make the most difference. “It should not call the Stripe API if customer has credits remaining.”