1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/fixtures/collection_cache/index.html.erb
Kasper Timm Hansen b4558c10fb Make collection caching explicit.
Having collection caching that wraps templates and automatically tries
to infer if they are cachable proved to be too much of a hassle.

We'd rather have it be something you explicitly turn on.

This removes much of the code and docs to explain the previous automatic
behavior.

This change also removes scoped cache keys and passing cache_options.
2016-02-20 16:54:32 +01:00

1 line
82 B
Text

<%= render partial: 'customers/customer', collection: @customers, cached: true %>