module Nelly::ActsAsCacheable::ClassMethods
Public Instance Methods
cache_key()
click to toggle source
# File lib/nelly/acts_as_cacheable.rb, line 14 def cache_key max_updated_at = maximum(:updated_at).try(:utc).try(:to_s, :number) "#{name}-#{count}-#{max_updated_at}" end