Module: ActionText::Attachments::Caching

Included in:
ActionText::Attachment
Defined in:
lib/action_text/attachments/caching.rb

Instance Method Summary collapse

Instance Method Details

#cache_key(*args) ⇒ Object



6
7
8
# File 'lib/action_text/attachments/caching.rb', line 6

def cache_key(*args)
  [self.class.name, cache_digest, *attachable.cache_key(*args)].join("/")
end