aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/renderer
Commit message (Collapse)AuthorAgeFilesLines
...
* Get rid of update_details in favor of passing details to find_template.José Valim2011-09-223-37/+29
|
* it is now possible to pass details options (:formats, :details, :locales, ↵Nick Sutterer2011-09-221-2/+3
| | | | ...) to #render, #find_template and friends. this doesn't change anything in global context.
* Rename new method to_path to to_partial_path to avoid conflicts with ↵José Valim2011-08-011-3/+3
| | | | File#to_path and similar.
* Move the cache to a nested hash which performs better than a hash with array ↵José Valim2011-07-281-11/+17
| | | | as keys.
* Let ActiveModel instances define partial paths.Grant Hutchins & Peter Jaros2011-07-251-21/+22
| | | | | | Deprecate ActiveModel::Name#partial_path. Now you should call #to_path directly on ActiveModel instances.
* - added ActionView::PartialRenderer#merge_path_into_partial(path, partial)Gaston Ramos2011-07-241-2/+16
| | | | fix issues/1951
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-07-231-20/+11
|\
| * Documentation fixes for rendering partialsOlek Janiszewski2011-07-091-20/+11
| |
* | Checking with to_s. As regexp fail with 1.8.7Arun Agrawal2011-07-181-2/+1
| |
* | Added view template invalid name check, along with tests. No merges in commit.huskins2011-07-131-0/+6
|/
* remove warning: assigned but unused variableSantiago Pastorino2011-06-081-1/+1
|
* Also allow prefixes as third argument to lookup context.José Valim2011-05-041-1/+1
|
* no @controller dependency in Renderers.Nick Sutterer2011-05-043-16/+10
|
* Add a shared entry point for AV and AC render which can be used as extension ↵José Valim2011-05-031-0/+9
| | | | in the future.
* Streaming docs.José Valim2011-05-011-40/+1
|
* log errors when an exception happens when streaming.José Valim2011-05-011-1/+16
|
* Introduce view renderer.José Valim2011-05-011-23/+10
|
* Remove view dependency from AV::Renderer.José Valim2011-05-014-66/+57
|
* More cleanup and moving responsibilities around.José Valim2011-05-012-3/+3
|
* Remove more dependencies from the view.José Valim2011-05-012-4/+11
|
* Start abstracting the renderer.José Valim2011-05-013-3/+288
|
* Output a redirect to the 500 page if something happens when streaming.José Valim2011-04-191-5/+6
| | | | | | Currently, we output: "><script type="text/javascript">window.location = "/500.html"</script></html>
* Fix CI test on 1.8José Valim2011-04-161-1/+4
|
* Class docs.José Valim2011-04-161-0/+47
|
* Add more tests, ensure we never yield outside the fiber context and that we ↵José Valim2011-04-161-1/+1
| | | | swap buffers when moving from parent to child.
* Basic tests for streaming. Basic tests for provide.José Valim2011-04-161-1/+1
|
* Yo dawg, I heard you like streaming. So I put a fiber, inside a block, ↵José Valim2011-04-164-38/+79
| | | | inside a body, so you can stream.
* Initial work on fibered layout.José Valim2011-04-163-3/+38
|
* render :once, YAGNI.José Valim2011-04-151-25/+0
|
* Accept String value for render_partial :as optionAkira Matsuda2011-02-011-2/+2
| | | | | | [#6222 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Final tidy up on templates inheritance.José Valim2010-12-272-2/+2
|
* all tests passartemave2010-12-262-3/+3
|
* #948 template_inheritanceartemave2010-12-262-4/+4
|
* Deprecate handler_class_for_extension as template handlers can be any Ruby ↵José Valim2010-12-011-1/+1
| | | | object, not necessarily a class.
* Make collection and collection_from_object methods return an arraySantiago Pastorino2010-11-131-3/+4
| | | | | | This transforms for instance scoped objects into arrays and avoid unneeded queries [#5958 state:committed]
* 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-162-4/+4
|
* 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>
* Remove :cache => true on lookup templates initialization.José Valim2010-10-141-1/+1
|
* render :once should consider the current controller prefix.José Valim2010-10-142-3/+4
|
* Use identifiers for template equality.José Valim2010-10-101-1/+1
|
* Add support to render :once.José Valim2010-10-103-28/+58
| | | | 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-103-0/+269
This commit moves all the template rendering logic that was hanging around AV::Base to renderer objects.