method

can_use_fast_cache_version?

rails latest stable - Class: ActiveRecord::Integration
can_use_fast_cache_version?(timestamp)
private

Detects if the value before type cast can be used to generate a cache_version.

The fast cache version only works with a string value directly from the database.

We also must check if the timestamp format has been changed or if the timezone is not set to UTC then we cannot apply our transformations correctly.