Ruby on Rails Developer Question: Download Questions PDF
Tell me the difference between ActiveSupport’s “HashWithIndifferentAccess” and Ruby’s “Hash”?
![Ruby on Rails Developer Interview Answer Ruby on Rails Developer Interview Question](https://globalguideline.com/public/images/interview/32.png)
Answer:
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.
Download Ruby on Rails Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me how does Ruby on Rails use the Model View Controller (MVC) framework? | Tell me what is CoC in Rails? |