module ActionText::Attachments::Caching
Public Instance Methods
Source
# File lib/action_text/attachments/caching.rb, line 8 def cache_key(*args) [self.class.name, cache_digest, *attachable.cache_key(*args)].join("/") end
Private Instance Methods
Source
# File lib/action_text/attachments/caching.rb, line 13 def cache_digest OpenSSL::Digest::SHA256.hexdigest(node.to_s) end