Can you explain the difference between ActiveSupport’s “HashWithIndifferentAccess” and Ruby’s “Hash”? Technology Community › Category: Ruby on Rails › Can you explain the difference between ActiveSupport’s “HashWithIndifferentAccess” and Ruby’s “Hash”? 0 Vote Up Vote Down VietMX Staff asked 4 years ago The HashWithIndifferentAccess class will treat symbol keys and string keys as equivalent while the Hash class in Ruby will use the stricter = = comparison on keys—an equivalent string key will not retrieve the value for a given symbol key.