This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
rails--rails
Watch
1
Star
0
Fork
You've already forked rails--rails
0
mirror of
https://github.com/rails/rails.git
synced
2022-11-09 12:12:34 -05:00
Code
Releases
Activity
76e545546c
rails--rails
/
actionpack
/
test
/
fixtures
/
collection_cache
/
index.html.erb
2 lines
82 B
Text
Raw
Normal View
History
Unescape
Escape
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-15 16:47:44 -05:00
<%= render partial: 'customers/customer', collection: @customers, cached: true %>
Copy permalink