method

cache_version

Importance_1
v7.1.3.2 - Show latest stable - 0 notes - Class: Integration
cache_version() public

Returns a cache version that can be used together with the cache key to form a recyclable caching scheme. By default, the #updated_at column is used for the cache_version, but this method can be overwritten to return something else.

Note, this method will return nil if ActiveRecord::Base.cache_versioning is set to false.

Show source
Register or log in to add new notes.