instance method
read_serialized_entry
Ruby on Rails 8.0.4
Since v7.0.10 PrivateSignature
read_serialized_entry(key, **)
No documentation comment.
Parameters
-
keyreq -
kwargskeyrest
Source
# File activesupport/lib/active_support/cache/file_store.rb, line 113
def read_serialized_entry(key, **)
File.binread(key) if File.exist?(key)
rescue => error
logger.error("FileStoreError (#{error}): #{error.message}") if logger
nil
end
Defined in activesupport/lib/active_support/cache/file_store.rb line 113
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::FileStore