instance method
deep_symbolize_keys
Ruby on Rails edge
Since v8.0.5.1 Private — implementation detail, not part of the public APISignature
deep_symbolize_keys(hash)
No documentation comment.
Parameters
-
hashreq
Source
# File activesupport/lib/active_support/encrypted_configuration.rb, line 180
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 180
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::EncryptedConfiguration