class method
self.cache_timestamp_format
Ruby on Rails 7.1.6
Since v3.2.22.5Indicates the format used to generate the timestamp in the cache key, if versioning is off. Accepts any of the symbols in Time::DATE_FORMATS.
This is :usec, by default.
Source
# File activerecord/lib/active_record/integration.rb, line 16
class_attribute :cache_timestamp_format, instance_writer: false, default: :usec
Defined in activerecord/lib/active_record/integration.rb line 16
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::Integration