class

HashWithIndifferentAccess

v2.3.8 - Show latest stable - Superclass: Hash

This class has dubious semantics and we only have it so that people can write params[:key] instead of params[‘key’] and they get the same value for both keys.

Files

  • activesupport/lib/active_support/core_ext/hash/indifferent_access.rb

Nested classes and modules