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
Actually this was probably never intended. What was likely intended is to mimic TemplateRenderer and allow the partial to provide content_for :content_slot to the layout, which the layout would render with yield :content_slot. That requires that the partial be rendered first.
However this too is broken as the yield args from the layout are discarded.
I am not sure what's more useful, having the partial render first and provide content to the layout or for the layout to render first and influence the rendering of the partial. Perhaps both styles should be supported via an option. Currently neither is. Whoever designed this should provide some insight.
This issue has been automatically marked as stale because it has not been commented on for at least
three months.
The resources of the Rails team are limited, and so we are asking for your help.
If you can still reproduce this error on the 4-1-stable, 4-0-stable branches or on master,
please reply with all of the information you have about it in order to keep the issue open.
This issue has been automatically closed because of inactivity.
If you can still reproduce this error on the 4-1-stable, 4-0-stable branches or on master,
please reply with all of the information you have about it in order to keep the issue open.
the docs suggest they should
http://api.rubyonrails.org/classes/ActionView/PartialRenderer.html
the problematic lines AFAICT:
the problems:
should it not be something like this
The text was updated successfully, but these errors were encountered: