Test-Commit-Revert: A useful workflow for testing legacy code in Ruby
It happens to all of us. As software projects grow, parts of the production code we ship end up without a comprehensive test suite. When you take another look at the same area of code after a few months, it may be difficult to understand; even worse, there might be a bug, and we don't know where to begin fixing it. Modifying production code without tests is a major challenge.