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

[ci skip] Change core_ext cherry picking example. #42171

Merged

Conversation

malclocke
Copy link
Contributor

Object#blank? is used as an example in this guide of a core extension
that is not loaded by default in Active Support, and how to load it
manually. However it now is loaded by default.

This change gives a different example (Hash#with_indifferent_access)
that will hopefully be less likely to be pulled into the default
requires in future.

Fixes #42152

`Object#blank?` is used as an example in this guide of a core extension
that is not loaded by default in Active Support, and how to load it
manually.  However it now _is_ loaded by default.

This change gives a different example (`Hash#with_indifferent_access`)
that will hopefully be less likely to be pulled into the default
requires in future.
@rails-bot rails-bot bot added the docs label May 8, 2021
@pixeltrix pixeltrix merged commit e2e2ed4 into rails:main May 8, 2021
@pixeltrix
Copy link
Contributor

@malclocke thanks! 👍🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[activesupport] requiring active_support makes object respond to blank?
2 participants