Issue #8939 has been updated by Hanmac (Hans Mackowiak).


no it should not because Symbol and String are two different Classes,
if you want that are the same use ActiveSupport::HashWithIndifferentAccess

----------------------------------------
Feature #8939: symbol / string invariance (for hashes)
https://bugs.ruby-lang.org/issues/8939#change-41926

Author: Sing9898 (Sing Lou)
Status: Open
Priority: Normal
Assignee: 
Category: 
Target version: 


hash={key:"value"}
hash["key"] should return "value"

hash={"key"=>"value"}
hash[:key] should return "value"


-- 
http://bugs.ruby-lang.org/