bef9484cf8
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. |
||
---|---|---|
.. | ||
action_view | ||
action_view.rb |