You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is very easy to accidentally call content_for from within a block that will be fragment cached, especially if the cached fragment calls out to a partial. eg:
Agree with @st0012. Please use the mailing list for feature requests, where a wider community will be able to help you. We reserve the issues tracker for issues only.
It is very easy to accidentally call
content_for
from within a block that will be fragment cached, especially if the cached fragment calls out to a partial. eg:Steps to reproduce
Call
content_for
from within code that will end up in a fragment cacheExpected behavior
An error should be raised letting the developer know that the content_for would not occur.
Actual behavior
The contents of the
content_for
are silently discarded.System configuration
Rails 5.0.1, Ruby 2.3.1
The text was updated successfully, but these errors were encountered: