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

Fix warning: extra states are no longer copied #28632

Conversation

kamipo
Copy link
Member

@kamipo kamipo commented Apr 1, 2017

messages has default_proc so calling reject causes the warning.

https://github.com/ruby/ruby/blob/v2_4_1/hash.c#L1335-L1337

`messages` has `default_proc` so calling `reject` causes the warning.

https://github.com/ruby/ruby/blob/v2_4_1/hash.c#L1335-L1337
@rafaelfranca rafaelfranca merged commit 8547d9f into rails:master Apr 7, 2017
@kamipo kamipo deleted the fix_warning_extra_states_are_no_longer_copied branch April 7, 2017 18:51
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