1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/lib/action_view/renderer
Carlos Antonio da Silva c67005f221 Do not generate local vars for partials without object or collection
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.
2013-01-08 09:15:20 -02:00
..
abstract_renderer.rb Common behavior with adding formats to lookup_context for TemplateRenderer and PartialRenderer 2012-07-18 10:48:24 +04:00
partial_renderer.rb Do not generate local vars for partials without object or collection 2013-01-08 09:15:20 -02:00
renderer.rb Remove private partial/template renderer methods 2012-11-21 23:32:43 -02:00
streaming_template_renderer.rb Use ActionView::Base.logger instead of AC::Base.logger 2012-08-28 10:51:05 +02:00
template_renderer.rb Remove private partial/template renderer methods 2012-11-21 23:32:43 -02:00