Module: ActiveRecord::Encryption::ExtendedDeterministicUniquenessValidator

Defined in:
lib/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/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/rubypitaya/app-template/vendor/bundle/ruby/3.1.0/gems/activerecord-7.0.4/lib/active_record/encryption/extended_deterministic_uniqueness_validator.rb', line 6

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