Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Eliminate internal render stack since we only need its head and tail | Jeremy Kemper | 2009-03-12 | 1 | -15/+11 |
| | |||||
* | Port fast reloadable templates from rails-dev-boost. | thedarkone | 2009-02-12 | 1 | -27/+3 |
| | |||||
* | Fix some edge cases when the same template is called with different local ↵ | Andrew White | 2009-02-10 | 1 | -1/+29 |
| | | | | | | assigns Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Improve view rendering performance in development mode and reinstate ↵ | Andrew White | 2009-02-09 | 1 | -5/+2 |
| | | | | | | template recompiling in production [#1909 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Ruby 1.9 compat: change encoding of action_view/renderable to utf-8, so erb ↵ | Eugene Pimenov | 2009-02-06 | 1 | -0/+2 |
| | | | | | | | | templates can use utf-8 properly [#1881 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Clean up view path cruft and split path implementations into Template::Path ↵ | Joshua Peek | 2008-12-29 | 1 | -6/+3 |
| | | | | and Template::EagerPath | ||||
* | Defining a new method is atomic, no mutex needed. | Joshua Peek | 2008-12-22 | 1 | -8/+2 |
| | |||||
* | Ensure the template format is always passed to the template finder. Now we ↵ | Joshua Peek | 2008-12-21 | 1 | -2/+10 |
| | | | | can cleanup some nasty stuff. | ||||
* | Add :partial option to assert_template [#1550 state:resolved] | mark | 2008-12-11 | 1 | -5/+0 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | fixed template recompile issue with previous commit and add some better ↵ | Joshua Peek | 2008-11-28 | 1 | -1/+1 |
| | | | | tests so we can make sure it doesn't happen again | ||||
* | Reinstate "Super lazy load view paths in development mode (no indexing or ↵ | Joshua Peek | 2008-11-28 | 1 | -1/+1 |
| | | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading." | ||||
* | Revert "Super lazy load view paths in development mode (no indexing or ↵ | David Heinemeier Hansson | 2008-11-27 | 1 | -1/+1 |
| | | | | | | caching at all). Switch layout finders to use view path api to take advantage of cache." as it killed dev mode reloading. This reverts commit 4d910b033379727e5e7355590c50c72fc75e56db. | ||||
* | Super lazy load view paths in development mode (no indexing or caching at ↵ | Joshua Peek | 2008-11-26 | 1 | -1/+1 |
| | | | | all). Switch layout finders to use view path api to take advantage of cache. | ||||
* | Prevent assert_template failures when a render :inline is called before ↵ | Luke Melia | 2008-11-17 | 1 | -1/+3 |
| | | | | | | rendering a file-based template [#1383 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Ensure @content_for_* is checked before yielding to block in render :layout ↵ | Ryan Bates | 2008-10-28 | 1 | -1/+1 |
| | | | | | | [#8994 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Track rendered templates in stack so the current template can always be ↵ | Joshua Peek | 2008-10-28 | 1 | -3/+9 |
| | | | | accessed. Added ActionView::Base#template to access the template object. | ||||
* | Stopped logging template compiles as it only clogs up the log | David Heinemeier Hansson | 2008-09-09 | 1 | -4/+1 |
| | |||||
* | Check for uninitialized instance variables | Jeremy Kemper | 2008-09-08 | 1 | -7/+7 |
| | |||||
* | Prefix ActionView::Base private methods with an underscore | Joshua Peek | 2008-08-31 | 1 | -4/+4 |
| | |||||
* | Move copying ivar logic from ActionController::Base to ActionView::Base | Pratik Naik | 2008-08-31 | 1 | -1/+1 |
| | |||||
* | defined? has no bounds | Joshua Peek | 2008-08-26 | 1 | -1/+1 |
| | |||||
* | Require missing libraries and check for defined ActionController constant so ↵ | Joshua Peek | 2008-08-26 | 1 | -1/+1 |
| | | | | ActionView can be used standalone | ||||
* | Consistently use the framework's configured logger and avoid reverting to ↵ | Joshua Peek | 2008-08-18 | 1 | -1/+1 |
| | | | | RAILS_DEFAULT_LOGGER unless necessary. | ||||
* | pass yielded arguments to block for ActionView::Base#render with :layout ↵ | Ryan Bates | 2008-08-17 | 1 | -1/+8 |
| | | | | | | [#847 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Simplifying usage of ETags and Last-Modified and conditional GET requests | Jeremy Kemper | 2008-08-07 | 1 | -3/+3 |
| | |||||
* | Fixed bc5896e, and added test case for the caching bug it originally introduced. | Joshua Peek | 2008-07-23 | 1 | -1/+1 |
| | |||||
* | Set the response content type to that of found template if not explicitly ↵ | Tom Ward | 2008-07-18 | 1 | -1/+4 |
| | | | | | | set elsewhere [#444 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Removed lagacy TemplateHandler#render API. Left in a legacy TemplateHandler ↵ | Joshua Peek | 2008-07-18 | 1 | -3/+3 |
| | | | | and Compilable stub so plugins will not have to change anything. | ||||
* | Changed ActiveSupport::Memoizable API to extend since it mainly adds the ↵ | Joshua Peek | 2008-07-18 | 1 | -2/+2 |
| | | | | memoize class method | ||||
* | Fixed template recompile logic [#630 state:resolved] | Stefan Kaes | 2008-07-16 | 1 | -22/+31 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Removed config.action_view.cache_template_loading, use config.cache_classes ↵ | Joshua Peek | 2008-07-15 | 1 | -1/+1 |
| | | | | instead | ||||
* | memorize typo | Joshua Peek | 2008-07-14 | 1 | -2/+2 |
| | |||||
* | Include Memoizable in ActionView::Template | Joshua Peek | 2008-07-14 | 1 | -9/+6 |
| | |||||
* | Eager load Partial variable_name and counter_name. Tidy up ↵ | Joshua Peek | 2008-07-14 | 1 | -2/+7 |
| | | | | render_partial_collection. | ||||
* | Move dead recompile_template? also | Jeremy Kemper | 2008-07-14 | 1 | -5/+2 |
| | |||||
* | Made ActionView::Base#first_render a little more private. And added ↵ | Joshua Peek | 2008-07-13 | 1 | -2/+2 |
| | | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved] | ||||
* | Refactor template preloading. New abstractions include Renderable mixins and ↵ | Joshua Peek | 2008-07-12 | 1 | -20/+61 |
| | | | | a refactored Template class. | ||||
* | Changed ActionView::TemplateHandler#render API method signature to ↵ | Joshua Peek | 2008-07-11 | 1 | -1/+1 |
| | | | | render(template, local_assigns = {}) | ||||
* | Added local assign keys to compiled method name so two threads evaluating ↵ | Joshua Peek | 2008-07-06 | 1 | -1/+7 |
| | | | | the same template with different locals don't step on top of each other | ||||
* | Lookup compiled methods in CompiledTemplates instance methods set instead of ↵ | Joshua Peek | 2008-07-05 | 1 | -4/+3 |
| | | | | using a "methods_names" hash | ||||
* | Moved complied method name logic into Renderable | Joshua Peek | 2008-07-05 | 1 | -0/+4 |
| | |||||
* | Renamed Renderer to Renderable | Joshua Peek | 2008-07-05 | 1 | -0/+29 |