method
will_cache?
v7.0.0 -
Show latest stable
- Class:
ActionView::CollectionCaching
will_cache?(options, view)private
No documentation available.
# File actionview/lib/action_view/renderer/partial_renderer/collection_caching.rb, line 16
def will_cache?(options, view)
options[:cached] && view.controller.respond_to?(:perform_caching) && view.controller.perform_caching
end