-
Notifications
You must be signed in to change notification settings - Fork 718
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[2.19] Remove ignore: undefined_method
for all 2.19 code excerpts
#4394
Comments
I think if you're documenting future releases, unless the change needs to get in before 2.19 lands, it may be fine to just not ignore the error and let the build fail, as it could cause us to miss issues now or in the future. If you want to get the change in before 2.19, I think it should be fine to comment out the code excerpt for now and make a TODO to add that back. Especially if you have tests or other code relating to the change, the build will likely still fail anyway due to missing returned values. |
Ok thanks for explaining, that seems like a much better way to handle it. I'll leave this open while I go back and remove the ignores sooner rather than later |
Fixing PRs merged into v2.19 |
I've been adding
undefined_method
to the// ignore_for_file:
lines of all the code excerpts I've been writing in preparation of 2.19.I'm assuming the best thing to do would be to remove these once 2.19 is stable so anyone editing them in the future can't accidentally add an actually undefined method to any of the code excerpts or tests.
The text was updated successfully, but these errors were encountered: