Method: ActiveRecord::Encryption::EncryptableRecord#decrypt

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

#decryptObject

Decrypts all the encryptable attributes and saves the changes.



171
172
173
# File 'activerecord/lib/active_record/encryption/encryptable_record.rb', line 171

def decrypt
  decrypt_attributes if has_encrypted_attributes?
end