method

add_length_validation_for_encrypted_columns

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Encryption
add_length_validation_for_encrypted_columns() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/encryption/encryptable_record.rb, line 132
          def add_length_validation_for_encrypted_columns
            encrypted_attributes&.each do |attribute_name|
              validate_column_size attribute_name
            end
          end
Register or log in to add new notes.