You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This feel more like an issue with Ruby 2.5.0 than with Rails. Can you report to Ruby? It looks like that their transform_keys = don't use the []= method to set the value.
Steps to reproduce
HashWithIndifferentAccess
Symbol
Expected behavior
Return some value if given key exists in
String
andSymbol
. In example above,hsh['b']
andhsh[:b]
should return1
.Actual behavior
Return
nil
I think than since this commit,
HWIA#transform_keys
returns aHWIA
, but it uses ruby'sHash#transform_keys!
on ruby 2.5.0.System configuration
Rails version: Rails 5.2.0.rc1
Ruby version: ruby 2.5.0p0 (2017-12-25 revision 61468) [x86_64-darwin15]
The text was updated successfully, but these errors were encountered: