aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/base.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* | Updated old AC::Base for small changes to AVYehuda Katz and Carl Lerche2009-04-081-1/+2
| |
* | Merge commit 'rails/3-0-unstable'Yehuda Katz2009-01-301-80/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/base.rb actionpack/lib/action_dispatch/http/mime_type.rb actionpack/lib/action_dispatch/http/request.rb actionpack/lib/action_view/base.rb actionpack/lib/action_view/paths.rb actionpack/test/controller/session/cookie_store_test.rb actionpack/test/dispatch/rack_test.rb actionpack/test/dispatch/request_test.rb
| * | Begin unifying the interface between ActionController and ActionViewYehuda Katz2009-01-221-81/+10
| |/
| * Clean up view path cruft and split path implementations into Template::Path ↵Joshua Peek2008-12-291-1/+1
| | | | | | | | and Template::EagerPath
* | Clean up view path cruft and split path implementations into Template::Path ↵Joshua Peek2009-01-011-1/+1
| | | | | | | | and Template::EagerPath
* | Initial work to merge several places with similar logicYehuda Katz2008-12-251-1/+1
|/
* 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
|
* Removed config.action_view.cache_template_loading, use config.cache_classes ↵Joshua Peek2008-07-151-3/+4
| | | | instead
* Check first render format and extension. Fixes failing ActionMailer test.Joshua Peek2008-07-131-1/+1
|
* Made ActionView::Base#first_render a little more private. And added ↵Joshua Peek2008-07-131-3/+3
| | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved]
* Set config.action_view.warn_cache_misses = true to receive a warning if you ↵Joshua Peek2008-07-121-2/+20
| | | | perform an action that results in an expensive disk operation that could be cached