Module: IdentityCache::QueryAPI

Extended by:
ActiveSupport::Concern
Included in:
IdentityCache
Defined in:
lib/identity_cache/query_api.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#expire_cacheObject

Invalidate the cache data associated with the record.


484
485
486
487
488
# File 'lib/identity_cache/query_api.rb', line 484

def expire_cache
  expire_primary_index
  expire_attribute_indexes
  true
end