mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
b4558c10fb
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.
1 line
82 B
Text
1 line
82 B
Text
<%= render partial: 'customers/customer', collection: @customers, cached: true %>
|