method

fragment_cache_key

Importance_1
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: Fragments

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v5.2.3) is shown here.

These similar methods exist in v7.1.3.2:

fragment_cache_key(key) public

Given a key (as described in expire_fragment), returns a key suitable for use in reading, writing, or expiring a cached fragment. All keys begin with views/, followed by any controller-wide key prefix values, ending with the specified key value. The key is expanded using ActiveSupport::Cache.expand_cache_key.

Show source
Register or log in to add new notes.