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

Use Symbol#name if available in HashWithIndifferentAccess #40201

Merged
merged 1 commit into from
Dec 8, 2020

Conversation

casperisfine
Copy link
Contributor

This is an old feature request that landed on ruby-head
ruby/ruby@eb67c60

This method returns an interned string, so it saves an allocation.

This is an old feature request that landed on ruby-head
ruby/ruby@eb67c60

This method returns an interned string, so saves an
allocation.
@composerinteralia
Copy link
Member

Looks like a duplicate of #40182

@casperisfine
Copy link
Contributor Author

Woops, sorry.

@rafaelfranca rafaelfranca reopened this Dec 8, 2020
@rafaelfranca rafaelfranca merged commit ccefd5c into rails:master Dec 8, 2020
@rafaelfranca rafaelfranca deleted the symbol-name branch December 8, 2020 18:45
rafaelfranca added a commit that referenced this pull request Dec 8, 2020
Use Symbol#name if available in HashWithIndifferentAccess
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants