aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/paths.rb
Commit message (Collapse)AuthorAgeFilesLines
* Finish porting over the initializers to the app object and fix all the testsCarl Lerche2009-10-081-2/+5
|
* Remove some old cruftYehuda Katz2009-08-271-3/+0
|
* Rename find_by_parts and find_by_parts? to find and exists?Yehuda Katz2009-08-071-5/+5
|
* Rename ActionView::Template::Path ActionView::ResolverYehuda Katz + Carl Lerche2009-06-171-1/+1
|
* Merge branch 'master' into wip_abstract_controllerYehuda Katz + Carl Lerche2009-05-111-1/+1
| | | | | | | | | | | | | | | Conflicts: actionpack/lib/action_controller/abstract/callbacks.rb actionpack/lib/action_controller/abstract/renderer.rb actionpack/lib/action_controller/base/base.rb actionpack/lib/action_controller/dispatch/dispatcher.rb actionpack/lib/action_controller/routing/route_set.rb actionpack/lib/action_controller/testing/process.rb actionpack/test/abstract_controller/layouts_test.rb actionpack/test/controller/filters_test.rb actionpack/test/controller/helper_test.rb actionpack/test/controller/render_test.rb actionpack/test/new_base/test_helper.rb
* Refactor ActionView::TemplateYehuda Katz + Carl Lerche2009-04-271-6/+6
| | | | | | | | 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.
* Refactor ActionView::PathYehuda Katz + Carl Lerche2009-04-221-3/+3
| | | | | | | | * Decouple from ActionController and ActionMailer * Bring back localization support. * Prepare to decouple templates from the filesystem. * Prepare to decouple localization from ActionView * Fix ActionMailer to take advantage of ActionView::Path
* Makes rails-dev-boost work againCarl Lerche & Yehuda Katz2009-04-141-5/+2
|
* Bring abstract_controller up to date with rails/masterCarl Lerche & Yehuda Katz2009-04-131-4/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
| * Simplify handling of absolute path templates. [#2276 state:resolved]thedarkone2009-03-241-1/+1
| | | | | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * ruby 1.9 compat: Pathname doesn't support =~Joshua Peek2009-03-151-1/+1
| |
| * correctly handle layouts for AJAX requests and regular js files [#2052 ↵Matt Jones2009-02-241-3/+3
| | | | | | | | | | | | state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Port fast reloadable templates from rails-dev-boost.thedarkone2009-02-121-8/+15
| |
| * Improve view rendering performance in development mode and reinstate ↵Andrew White2009-02-091-9/+8
| | | | | | | | | | | | template recompiling in production [#1909 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Render implicit html template when xhr request now supports localization ↵José Valim2009-02-071-0/+2
| | | | | | | | | | | | [#1886 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
| * Use Path rather than EagerPath when cache_classes == false so other view ↵Andrew White2009-02-051-1/+5
| | | | | | | | | | | | paths are properly recompiled in development mode [#1764 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* | In the middle of some refactoring... some fails due to changes in ↵Yehuda Katz and Carl Lerche2009-03-231-0/+9
| | | | | | | | AbstractController not yet reflected in ActionController tests
* | Add a bunch of tests for various render :action, layout combinationsYehuda Katz2009-03-231-0/+3
| |
* | Merge commit 'rails/3-0-unstable'Yehuda Katz2009-01-301-7/+13
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | 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-3/+13
| |
* | Restore implicit rendering for XHR requests that want a HTML template [#1590 ↵Joshua Peek2009-01-271-0/+3
| | | | | | | | state:resolved]
* | Add localized templatesJoshua Peek2009-01-251-1/+5
|/ | | | | | | | # Default locale app/views/messages/index.html.erb # I18n.locale is set to :da (Danish) app/views/messages/index.da.html.erb
* Clean up view path cruft and split path implementations into Template::Path ↵Joshua Peek2008-12-291-106/+1
| | | | and Template::EagerPath
* Ensure the template format is always passed to the template finder. Now we ↵Joshua Peek2008-12-211-28/+13
| | | | can cleanup some nasty stuff.
* Fixed template lookups from outside the rails root [#1557 state:resolved]Joshua Peek2008-12-111-0/+4
|
* Silence server backtrace in rescue templates and log files. Also remove some ↵Joshua Peek2008-12-051-1/+9
| | | | noise from missing template errors.
* 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-17/+50
| | | | 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-50/+17
| | | | | | 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-17/+50
| | | | all). Switch layout finders to use view path api to take advantage of cache.
* Partial revert of 2681685 premature TypeArray abstractionJoshua Peek2008-08-211-1/+25
|
* Consistently use the framework's configured logger and avoid reverting to ↵Joshua Peek2008-08-181-1/+1
| | | | RAILS_DEFAULT_LOGGER unless necessary.
* Ensure mailer view path is loaded when it's assigned. Path#[] raises if it ↵Jeremy Kemper2008-07-311-0/+2
| | | | isn't loaded.
* Load view path cache after plugins and gems.Joshua Peek2008-07-231-3/+15
|
* Extract ActiveSupport::TypedArray class to ensure an array is all of the ↵Joshua Peek2008-07-221-25/+6
| | | | same type [#673 state:resolved]
* Ensure ActionView::PathSet::Path is not initialized with a precompiled pathJoshua Peek2008-07-191-0/+2
|
* Removed config.action_view.cache_template_loading, use config.cache_classes ↵Joshua Peek2008-07-151-4/+12
| | | | instead
* Set config.action_view.warn_cache_misses = true to receive a warning if you ↵Joshua Peek2008-07-121-1/+12
| | | | perform an action that results in an expensive disk operation that could be cached
* Refactor template preloading. New abstractions include Renderable mixins and ↵Joshua Peek2008-07-121-0/+85
a refactored Template class.