class ActiveSupport::HashWithIndifferentAccess
def []=(key, value)
hash[:key] = 'value'
hash = ActiveSupport::HashWithIndifferentAccess.new
Assigns a new value to the hash:
def []=(key, value) regular_writer(convert_key(key), convert_value(value, for: :assignment)) end