跳至内容 跳至搜索
方法
D
E

实例公共方法

解密()

# File actiontext/lib/action_text/encryption.rb, line 14
def decrypt
  transaction do
    super
    decrypt_rich_texts if has_encrypted_rich_texts?
  end
end

加密()

# File actiontext/lib/action_text/encryption.rb, line 7
def encrypt
  transaction do
    super
    encrypt_rich_texts if has_encrypted_rich_texts?
  end
end