Tracking down not resolving constants with parser
Recently we started upgrading Ruby 2.4 app. One huge change Ruby 2.5 introduces is removal of top–level constant resolution. This can cause serious runtime issues, remaining unspotted before hitting the production, especially if app lacks appropriate test coverage.
Script to check your codebase against invalid constants included :)
Post a comment