aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/base.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleaning up if defined?(ActionController::Http) blocks from the pre new base ↵Yehuda Katz + Carl Lerche2009-06-171-38/+14
| | | | era.
* Fixing pending tests and fixed some formats / partial rendering semanticsYehuda Katz + Carl Lerche2009-06-171-0/+2
|
* Added the :rjs render optionYehuda Katz + Carl Lerche2009-05-211-8/+9
|
* Remove some response content type concepts from ActionViewYehuda Katz + Carl Lerche2009-05-211-2/+5
|
* Cherry-pick core extensionsJeremy Kemper2009-05-131-0/+3
|
* Deprecate template, session, assigns, and layout accessors on response ↵Joshua Peek2009-04-281-1/+1
| | | | object. Instead access them through the controller instance. This mainly affects functional test assertions.
* Refactor ActionView::TemplateYehuda Katz + Carl Lerche2009-04-271-1/+3
| | | | | | | | ActionView::Template is now completely independent from template storage, which allows different back ends such as the database. ActionView::Template's only responsibility is to take in the template source (passed in from ActionView::Path), compile it, and render it.
* Bring abstract_controller up to date with rails/masterCarl Lerche & Yehuda Katz2009-04-131-2/+31
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved all the conflicts since 2.3.0 -> HEAD. Following is a list of commits that could not be applied cleanly or are obviated with the abstract_controller refactor. They all need to be revisited to ensure that fixes made in 2.3 do not reappear in 3.0: 2259ecf368e6a6715966f69216e3ee86bf1a82a7 AR not available * This will be reimplemented with ActionORM or equivalent 06182ea02e92afad579998aa80144588e8865ac3 implicitly rendering a js response should not use the default layout [#1844 state:resolved] * This will be handled generically 893e9eb99504705419ad6edac14d00e71cef5f12 Improve view rendering performance in development mode and reinstate template recompiling in production [#1909 state:resolved] * We will need to reimplement rails-dev-boost on top of the refactor; the changes here are very implementation specific and cannot be cleanly applied. The following commits are implicated: 199e750d46c04970b5e7684998d09405648ecbd4 3942cb406e1d5db0ac00e03153809cc8dc4cc4db f8ea9f85d4f1e3e6f3b5d895bef6b013aa4b0690 e3b166aab37ddc2fbab030b146eb61713b91bf55 ae9f258e03c9fd5088da12c1c6cd216cc89a01f7 44423126c6f6133a1d9cf1d0832b527e8711d40f 0cb020b4d6d838025859bd60fb8151c8e21b8e84 workaround for picking layouts based on wrong view_paths [#1974 state:resolved] * The specifics of this commit no longer apply. Since it is a two-line commit, we will reimplement this change. 8c5cc66a831aadb159f3daaffa4208064c30af0e make action_controller/layouts pick templates from the current instance's view_paths instead of the class view_paths [#1974 state:resolved] * This does not apply at all. It should be trivial to apply the feature to the reimplemented ActionController::Base. 87e8b162463f13bd50d27398f020769460a770e3 fix HTML fallback for explicit templates [#2052 state:resolved] * There were a number of patches related to this that simply compounded each other. Basically none of them apply cleanly, and the underlying issue needs to be revisited. After discussing the underlying problem with Koz, we will defer these fixes for further discussion.
| * 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>
* | 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