aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/renderer/abstract_renderer.rb
Commit message (Collapse)AuthorAgeFilesLines
* Improve and cleanup a bit partial rendererCarlos Antonio da Silva2012-05-121-3/+1
| | | | | | | | | | * Remove template assignment: there is no need for this assignment, given we are rendering a collection with possibly different templates, and a second call to render (with the same instance) would behave differently if the template is set. * Remove segments array in favor of Array#map * Use local vars whenever possible * Cache local template keys, remove defaults from find_template
* format lookup for partials is derived from the format in which the template ↵Santiago Pastorino2012-02-221-1/+1
| | | | | | is being rendered Closes #5025 part 2
* Whitespaces :scissors:Rafael Mendonça França2012-01-051-2/+2
|
* Change more Array.wrap to Kernel#ArrayRafael Mendonça França2012-01-051-1/+1
|
* Remove deprecation warnings from Action Pack.José Valim2011-12-201-12/+0
|
* Using #extract_details in PartialRenderer, too!Nick Sutterer2011-09-231-2/+0
|
* Allow both sym and array for details options in #render. using ↵Nick Sutterer2011-09-231-1/+12
| | | | LC#registered_details to extract options.
* Deprecate passing the template handler in the template name.José Valim2011-09-221-1/+1
| | | | | | For example, calling hello.erb is now deprecated. Since Rails 3.0 passing the handler had no effect whatsover. This commit simply deprecates such cases so we can clean up the code in later releases.
* Get rid of update_details in favor of passing details to find_template.José Valim2011-09-221-10/+6
|
* no @controller dependency in Renderers.Nick Sutterer2011-05-041-2/+1
|
* Remove view dependency from AV::Renderer.José Valim2011-05-011-2/+2
|
* Start abstracting the renderer.José Valim2011-05-011-2/+2
|
* extract formats_regexp as a methodSantiago Pastorino2010-10-161-2/+5
|
* There's no need now to expose lookup_context as an external APISantiago Pastorino2010-10-161-3/+1
|
* Delegate freeze_formats to lookup_contextSantiago Pastorino2010-10-161-2/+2
|
* Remove the :vew attr_reader from ActionView::AbstractRenderer [#5819 ↵Jeff Kreeftmeijer2010-10-161-1/+1
| | | | | | state:resolved] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Add support to render :once.José Valim2010-10-101-6/+6
| | | | This will be used internally by sprockets to ensure requires are executed just once.
* Clean up the house before moving in the new furniture.José Valim2010-10-101-0/+36
This commit moves all the template rendering logic that was hanging around AV::Base to renderer objects.