Method: ActiveRecord::Encryption::EncryptableRecord#decrypt

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

#decryptObject

Decrypts all the encryptable attributes and saves the changes.



156
157
158
# File 'lib/active_record/encryption/encryptable_record.rb', line 156

def decrypt
  decrypt_attributes if has_encrypted_attributes?
end