aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/renderable.rb
Commit message (Collapse)AuthorAgeFilesLines
* Defining a new method is atomic, no mutex needed.Joshua Peek2008-12-221-8/+2
|
* Ensure the template format is always passed to the template finder. Now we ↵Joshua Peek2008-12-211-2/+10
| | | | can cleanup some nasty stuff.
* Add :partial option to assert_template [#1550 state:resolved]mark2008-12-111-5/+0
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* fixed template recompile issue with previous commit and add some better ↵Joshua Peek2008-11-281-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 Peek2008-11-281-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 Hansson2008-11-271-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 Peek2008-11-261-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 Melia2008-11-171-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 Bates2008-10-281-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 Peek2008-10-281-3/+9
| | | | accessed. Added ActionView::Base#template to access the template object.
* Stopped logging template compiles as it only clogs up the logDavid Heinemeier Hansson2008-09-091-4/+1
|
* Check for uninitialized instance variablesJeremy Kemper2008-09-081-7/+7
|
* Prefix ActionView::Base private methods with an underscoreJoshua Peek2008-08-311-4/+4
|
* Move copying ivar logic from ActionController::Base to ActionView::BasePratik Naik2008-08-311-1/+1
|
* defined? has no boundsJoshua Peek2008-08-261-1/+1
|
* Require missing libraries and check for defined ActionController constant so ↵Joshua Peek2008-08-261-1/+1
| | | | ActionView can be used standalone
* Consistently use the framework's configured logger and avoid reverting to ↵Joshua Peek2008-08-181-1/+1
| | | | RAILS_DEFAULT_LOGGER unless necessary.
* pass yielded arguments to block for ActionView::Base#render with :layout ↵Ryan Bates2008-08-171-1/+8
| | | | | | [#847 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Simplifying usage of ETags and Last-Modified and conditional GET requestsJeremy Kemper2008-08-071-3/+3
|
* Fixed bc5896e, and added test case for the caching bug it originally introduced.Joshua Peek2008-07-231-1/+1
|
* Set the response content type to that of found template if not explicitly ↵Tom Ward2008-07-181-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 Peek2008-07-181-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 Peek2008-07-181-2/+2
| | | | memoize class method
* Fixed template recompile logic [#630 state:resolved]Stefan Kaes2008-07-161-22/+31
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Removed config.action_view.cache_template_loading, use config.cache_classes ↵Joshua Peek2008-07-151-1/+1
| | | | instead
* memorize typoJoshua Peek2008-07-141-2/+2
|
* Include Memoizable in ActionView::TemplateJoshua Peek2008-07-141-9/+6
|
* Eager load Partial variable_name and counter_name. Tidy up ↵Joshua Peek2008-07-141-2/+7
| | | | render_partial_collection.
* Move dead recompile_template? alsoJeremy Kemper2008-07-141-5/+2
|
* Made ActionView::Base#first_render a little more private. And added ↵Joshua Peek2008-07-131-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 Peek2008-07-121-20/+61
| | | | a refactored Template class.
* Changed ActionView::TemplateHandler#render API method signature to ↵Joshua Peek2008-07-111-1/+1
| | | | render(template, local_assigns = {})
* Added local assign keys to compiled method name so two threads evaluating ↵Joshua Peek2008-07-061-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 Peek2008-07-051-4/+3
| | | | using a "methods_names" hash
* Moved complied method name logic into RenderableJoshua Peek2008-07-051-0/+4
|
* Renamed Renderer to RenderableJoshua Peek2008-07-051-0/+29