instance method
check_key_length
Ruby on Rails 8.1.2
Since v6.1.7.10 PrivateSignature
check_key_length()
No documentation comment.
Source
# File activesupport/lib/active_support/encrypted_file.rb, line 129
def check_key_length
raise InvalidKeyLengthError if key&.length != self.class.expected_key_length
end
Defined in activesupport/lib/active_support/encrypted_file.rb line 129
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::EncryptedFile