• R
    Fix cache issue when different partials use the same collection · da167457
    Roque Pinel 提交于
    Adds the `virtual_path` option to `cache_fragment_name` so it can
    be provided when needed.
    
    That allows `cache_collection_render` to get the appropriate cache
    key with the digest generated based on the template and prevent
    collision with other templates that cache the same collection.
    da167457
collection_caching.rb 2.2 KB