aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* pluginize concurrent block body partJeremy Kemper2009-03-191-2/+2
|
* Body parts: future rendering, threaded future, queued future, open-uri exampleJeremy Kemper2009-03-131-2/+8
|
* Change naming to match 2.2 so life is easier on plugin developersJeremy Kemper2009-03-121-5/+5
|
* Eliminate internal render stack since we only need its head and tailJeremy Kemper2009-03-121-2/+16
|
* Use Array.wrap() instead of Array() and handle ↵Pratik Naik2009-02-281-1/+1
| | | | action_view.cache_template_loading being false
* Ensure the old behaviour is retained when action_view.cache_template_loading ↵Pratik Naik2009-02-281-3/+3
| | | | is not set explicitly
* Fix templates reloading in development when using custom view path [#2012 ↵Joshua Peek2009-02-191-2/+2
| | | | state:resolved]
* Port fast reloadable templates from rails-dev-boost.thedarkone2009-02-121-3/+10
|
* Improve view rendering performance in development mode and reinstate ↵Andrew White2009-02-091-2/+6
| | | | | | template recompiling in production [#1909 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Clean up view path cruft and split path implementations into Template::Path ↵Joshua Peek2008-12-291-1/+1
| | | | and Template::EagerPath
* Ensure the template format is always passed to the template finder. Now we ↵Joshua Peek2008-12-211-57/+5
| | | | can cleanup some nasty stuff.
* Merge with docrailsPratik Naik2008-12-071-2/+6
|
* Silence server backtrace in rescue templates and log files. Also remove some ↵Joshua Peek2008-12-051-1/+1
| | | | noise from missing template errors.
* Set template_format to html inside rjs templates so renders within it ↵Joshua Peek2008-12-041-3/+0
| | | | default to html.
* Fix rendering html partials from an rjs templateSam Stephenson2008-12-041-1/+1
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Reinstate "Super lazy load view paths in development mode (no indexing or ↵Joshua Peek2008-11-281-3/+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/+3
| | | | | | 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-3/+1
| | | | all). Switch layout finders to use view path api to take advantage of cache.
* use autoload instead of explicit requires for ActionViewJoshua Peek2008-11-231-1/+1
|
* Changed the default of ActionView#render to assume partials instead of files ↵David Heinemeier Hansson2008-11-191-7/+16
| | | | when not given an options hash [DHH]
* Fix rendering html partial via inline render when with :js format [#1399 ↵Luke Melia2008-11-181-1/+2
| | | | | | 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/+8
| | | | accessed. Added ActionView::Base#template to access the template object.
* Remove stuff that was deprecated in 2-1-stablePratik Naik2008-10-211-16/+0
|
* Move controller ivar copying to a separate methodPratik Naik2008-10-051-8/+10
|
* Protect body ivar from being clobbered by the mailer template assignsJoshua Peek2008-09-281-2/+2
|
* Check for uninitialized instance variablesJeremy Kemper2008-09-081-4/+6
|
* Moved layout exemption logic into the viewJoshua Peek2008-08-311-52/+55
|
* Prefix ActionView::Base private methods with an underscoreJoshua Peek2008-08-311-5/+6
|
* Fix AM tests and add tests for rendering loggingPratik Naik2008-08-311-2/+0
|
* Add lost log messages about template renderingPratik Naik2008-08-311-0/+3
|
* Move layout rendering logic to ActionView::BasePratik Naik2008-08-311-17/+28
|
* Move copying ivar logic from ActionController::Base to ActionView::BasePratik Naik2008-08-311-7/+9
|
* Store application and other context specific helper modules in ↵Joshua Peek2008-08-261-0/+14
| | | | ActionView::Base#helpers
* Cache JavaScriptGenerator's helper module set on the templateJoshua Peek2008-08-261-5/+0
|
* Performance: Cache modules that extend the view context for JavaScriptGeneratorJoshua Peek2008-08-251-2/+6
|
* Include all helpers into ActionView::HelperJoshua Peek2008-08-251-13/+0
|
* Removed template_public? because it will always be true since the default ↵Joshua Peek2008-08-211-5/+0
| | | | template is never a partial
* Cleanup around partial renderingRyan Bates2008-08-211-35/+8
| | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Return nil instead of a space when passing an empty collection or nil to ↵Ryan Bates2008-08-191-1/+1
| | | | | | 'render :partial' [#791 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Consistently use the framework's configured logger and avoid reverting to ↵Joshua Peek2008-08-181-1/+2
| | | | RAILS_DEFAULT_LOGGER unless necessary.
* pass yielded arguments to block for ActionView::Base#render with :layout ↵Ryan Bates2008-08-171-15/+8
| | | | | | [#847 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* Tidy up ActionMailer rendering logic to take advantage of view path cache ↵Joshua Peek2008-08-061-1/+4
| | | | instead of using file system lookups
* Fixed bc5896e, and added test case for the caching bug it originally introduced.Joshua Peek2008-07-231-0/+3
|
* Revert 'bc5896e'Joshua Peek2008-07-231-3/+0
|
* Memoize ActionView::Base pick_template and find_partial_path for rendering ↵Joshua Peek2008-07-221-2/+5
| | | | duration
* Fixed spelling mistake in deprecation warning [#381 state:resolved]Joshua Peek2008-07-191-4/+6
|
* Set the response content type to that of found template if not explicitly ↵Tom Ward2008-07-181-0/+6
| | | | | | 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-2/+2
| | | | and Compilable stub so plugins will not have to change anything.
* Wrap AssetTagHelper's computed public path cache in a threadsafe storeJoshua Peek2008-07-171-4/+0
|
* Merge with docrails.Pratik Naik2008-07-161-1/+1
|