Module: IdentityCache::WithoutPrimaryIndex

Extended by:
ActiveSupport::Concern
Includes:
ArTransactionChanges, BelongsToCaching, CacheInvalidation, CacheKeyGeneration, ConfigurationDSL, QueryAPI, ShouldUseCache
Included in:
WithPrimaryIndex
Defined in:
lib/identity_cache/without_primary_index.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary

Constants included from CacheInvalidation

CacheInvalidation::CACHE_KEY_NAMES

Constants included from CacheKeyGeneration

CacheKeyGeneration::DEFAULT_NAMESPACE

Class Method Summary collapse

Methods included from CacheInvalidation

#reload

Methods included from QueryAPI

#_run_commit_callbacks, #expire_cache, #was_new_record?

Methods included from CacheKeyGeneration

denormalized_schema_hash, denormalized_schema_string, schema_to_string

Class Method Details

.append_features(base) ⇒ Object

:nodoc:



17
18
19
20
21
# File 'lib/identity_cache/without_primary_index.rb', line 17

def append_features(base) # :nodoc:
  raise AlreadyIncludedError if base.include?(WithoutPrimaryIndex)

  super
end