Module: ActiveRecord::Encryption::ExtendedDeterministicUniquenessValidator

Defined in:
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 'lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb', line 6

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