instance method deep_symbolize_keys

Ruby on Rails 8.1.2

Since v8.0.4 Private

Available in: v8.0.4 v8.1.2

Signature

deep_symbolize_keys(hash)

No documentation comment.

Parameters

hash req
Source
# File activesupport/lib/active_support/encrypted_configuration.rb, line 94
      def deep_symbolize_keys(hash)
        hash.deep_transform_keys do |key|
          key.to_sym
        rescue NoMethodError
          raise InvalidKeyError.new(content_path, key)
        end
      end

Defined in activesupport/lib/active_support/encrypted_configuration.rb line 94 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveSupport::EncryptedConfiguration

Type at least 2 characters to search.

↑↓ navigate · open · esc close