instance method
possible_cache_available?
Ruby on Rails 7.1.6
Since v7.1.6 PrivateSignature
possible_cache_available?()
No documentation comment.
Source
# File activerecord/lib/active_record/connection_adapters/schema_cache.rb, line 118
def possible_cache_available?
self.class.use_schema_cache_dump &&
@cache_path &&
File.file?(@cache_path)
end
Defined in activerecord/lib/active_record/connection_adapters/schema_cache.rb line 118
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::SchemaReflection