module ActionText::Attachments::Caching
def cache_digest
def cache_digest OpenSSL::Digest::SHA256.hexdigest(node.to_s) end
def cache_key(*args)
def cache_key(*args) [self.class.name, cache_digest, *attachable.cache_key(*args)].join("/") end
def cache_digest OpenSSL::Digest::SHA256.hexdigest(node.to_s) end
def cache_key(*args) [self.class.name, cache_digest, *attachable.cache_key(*args)].join("/") end