aboutsummaryrefslogtreecommitdiffstats
path: root/RAILS_VERSION
diff options
context:
space:
mode:
authorHenrik Nygren <nygrenh@gmail.com>2015-05-14 09:42:55 +0300
committerHenrik Nygren <nygrenh@gmail.com>2015-05-14 10:46:44 +0300
commitbef9484cf867ab261891d3431782e60c4e17f87f (patch)
tree20d2436600193a9fcd756b564aeb0153c8425ecb /RAILS_VERSION
parent987a45307f8ca0b8b6cbab3763180cbe4eee18b7 (diff)
downloadrails-bef9484cf867ab261891d3431782e60c4e17f87f.tar.gz
rails-bef9484cf867ab261891d3431782e60c4e17f87f.tar.bz2
rails-bef9484cf867ab261891d3431782e60c4e17f87f.zip
Do not put partial name to local_assigns when rendering without an object
When one rendered a partial template without specifying an object or a collection (e.g. <%= render partial: 'partial_name' %>), Rails would make an object called :partial_name available in local_assigns. I don't think this was the intended behavior, since no local variable called 'partial_name' gets defined in the view.
Diffstat (limited to 'RAILS_VERSION')
0 files changed, 0 insertions, 0 deletions