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



8
9
10
# File 'lib/action_text/attachments/caching.rb', line 8

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