Skip to content
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

Prevent undefining "require" by making it private #134

Merged
merged 1 commit into from Jun 22, 2019

Conversation

benoittgt
Copy link
Contributor

There is a code in rails in DeprecationProxy that undef methods of
deprecated object, constant, etc. But in our case we were making
"require" public so it was undefined and it was leading to a crash.

Fix: #128
Related:

There is a code in rails in DeprecationProxy that undef methods of
deprecated object, constant, etc. But in our case we were making
"require" public so it was undefined and it was leading to a crash.

Fix: zombocom#128
Related:
- zombocom#130
- rails/rails#36530
@schneems
Copy link
Member

Thanks!

@schneems schneems merged commit 9bd8be2 into zombocom:master Jun 22, 2019
@benoittgt benoittgt deleted the require_need_to_be_private branch June 22, 2019 22:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

NoMethodError: private method `warn' called for nil:NilClass
2 participants