method

write_serialized_entry

write_serialized_entry(key, payload, **options)
private

No documentation available.

# File activesupport/lib/active_support/cache/file_store.rb, line 113
        def write_serialized_entry(key, payload, **options)
          return false if options[:unless_exist] && File.exist?(key)
          ensure_cache_path(File.dirname(key))
          File.atomic_write(key, cache_path) { |f| f.write(payload) }
          true
        end