diff options
author | Matthew Eagar <meagar@gmail.com> | 2017-01-24 20:40:34 -0500 |
---|---|---|
committer | Matthew Eagar <meagar@gmail.com> | 2017-01-25 09:23:43 -0500 |
commit | e524327e510996ad741ba44c5403fe7353519e40 (patch) | |
tree | 64a0ef40a21c0bef7beff4da42f81c6bac941ab3 /actionview/lib/action_view/template | |
parent | 6363fa1a6f9ef43b3e89e8cf5873617e851414d4 (diff) | |
download | rails-e524327e510996ad741ba44c5403fe7353519e40.tar.gz rails-e524327e510996ad741ba44c5403fe7353519e40.tar.bz2 rails-e524327e510996ad741ba44c5403fe7353519e40.zip |
Add partial iteration variable to template keys
When rendering heterogeneous collection using `render @collection` or
`render partial: @collection`, the expected `<partial_name>_iteration`
variable is missing due to `find_template` not having the name of the
iteration variable included in its cache keys.
Diffstat (limited to 'actionview/lib/action_view/template')
0 files changed, 0 insertions, 0 deletions