aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/lib/action_view/flows.rb
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-02-12 23:25:03 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-02-12 23:25:03 +0100
commit40599d1d7468e8d13932ada859987d9d2f32cb18 (patch)
tree8619a9021bbc34a0594e974c303af17018ed6c09 /actionview/lib/action_view/flows.rb
parent42fd563f66798ab286699520dc5f3550a6e4c575 (diff)
downloadrails-40599d1d7468e8d13932ada859987d9d2f32cb18.tar.gz
rails-40599d1d7468e8d13932ada859987d9d2f32cb18.tar.bz2
rails-40599d1d7468e8d13932ada859987d9d2f32cb18.zip
Stop mutating return value.
`PartialRenderer.render_collection_with/without_template` returns an array of rendered partials. Avoid dup'ing and shifting it by indexing into the collection instead.
Diffstat (limited to 'actionview/lib/action_view/flows.rb')
0 files changed, 0 insertions, 0 deletions