mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
c67005f221
Previously rendering a partial without giving :object or :collection would generate a local variable with the partial name by default. This was noticed due to warnings in Ruby 2.0 of not used variables, which turned out to be the generation of not used variables inside partials that do not contain objects related to them. |
||
---|---|---|
.. | ||
abstract_renderer.rb | ||
partial_renderer.rb | ||
renderer.rb | ||
streaming_template_renderer.rb | ||
template_renderer.rb |