method

add_length_validation_for_encrypted_columns

Importance_0
v7.0.0 - Show latest stable - 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 129
          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.