Module: ActiveRecord::Encryption::ExtendedDeterministicUniquenessValidator

Defined in:
activerecord/lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb

Defined Under Namespace

Modules: EncryptedUniquenessValidator

Class Method Summary collapse

Class Method Details

.install_supportObject



6
7
8
# File 'activerecord/lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb', line 6

def self.install_support
  ActiveRecord::Validations::UniquenessValidator.prepend(EncryptedUniquenessValidator)
end