Method not available on this version
This method is only available on newer versions.
The first available version (v7.2.3) is shown here.
new(compress: true)
public
- :compress
-
Boolean indicating whether
records should be compressed before encryption. Defaults to true.
# File activerecord/lib/active_record/encryption/encryptor.rb, line 20
def initialize(compress: true)
@compress = compress
end