Module: CacheCow::CachedIdList::InstanceMethods
- Defined in:
- lib/cache_cow/cached_id_list.rb
Instance Method Summary collapse
Instance Method Details
#expire_cached_id_list(association_name) ⇒ Object
37 38 39 40 41 42 |
# File 'lib/cache_cow/cached_id_list.rb', line 37 def expire_cached_id_list(association_name) cache_key = self.class.cached_id_list_cache_key(association_name) expire_cache cache_key # instance_variable_set("@#{cache_key}", nil) # instance_variable_set("@cached_#{association_name}", nil) end |