aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/lookup_context.rb
Commit message (Collapse)AuthorAgeFilesLines
* format lookup for partials is derived from the format in which the template ↵Santiago Pastorino2012-02-221-11/+3
| | | | | | is being rendered Closes #5025 part 2
* fix bad docs from f373f296 [ci skip]Vijay Dev2012-02-211-3/+3
|
* Bring back rendering templates that start with / in nested structuresCarlos Antonio da Silva2012-01-171-0/+1
|
* Change more Array.wrap to Kernel#ArrayRafael Mendonça França2012-01-051-2/+1
|
* Use Kernel#Array instead of Array.wrap in view_pathsRafael Mendonça França2012-01-051-1/+1
|
* Remove deprecation warnings from Action Pack.José Valim2011-12-201-11/+1
|
* Clean up details keys before some tests to expire the cache.José Valim2011-12-141-0/+4
|
* dup the details hash if a key has already been set for this objectAaron Patterson2011-12-131-0/+1
|
* locale and default_locale may be the same, so uniq the arrayAaron Patterson2011-12-131-1/+1
|
* stop freezing the details hashAaron Patterson2011-12-131-2/+1
|
* stop freezing hash valueAaron Patterson2011-12-131-1/+1
|
* Optimize layout lookup to avoid double calls.José Valim2011-12-081-1/+0
|
* Some small optimizations and improvements to benchmark code.José Valim2011-12-081-9/+9
|
* Deprecate passing the template handler in the template name.José Valim2011-09-221-1/+6
| | | | | | For example, calling hello.erb is now deprecated. Since Rails 3.0 passing the handler had no effect whatsover. This commit simply deprecates such cases so we can clean up the code in later releases.
* Make handlers a registered detail.José Valim2011-09-221-6/+3
|
* Get rid of update_details in favor of passing details to find_template.José Valim2011-09-221-29/+4
|
* it is now possible to pass details options (:formats, :details, :locales, ↵Nick Sutterer2011-09-221-8/+16
| | | | ...) to #render, #find_template and friends. this doesn't change anything in global context.
* No need to recalculate the @details_key after update_details.José Valim2011-09-221-3/+2
|
* Slightly reorganize lookup context modules in order to better isolate cache ↵José Valim2011-09-211-100/+111
| | | | responsibilities.
* deprecating process_view_pathsAaron Patterson2011-08-091-1/+1
|
* Remove trailing white-spacesGuillermo Iguaran2011-06-051-1/+1
|
* Always expand */*José Valim2011-05-071-7/+4
|
* Fixes ticket #6379. Improved the handling of Accept headers containing */*.mathieuravaux2011-05-071-4/+7
| | | | | | | `lookup_context#formats=` being too restrictive, "Accept: text/javascript, */*" resulted in [:js, "*/*"] formats instead of [:js, :html]. Signed-off-by: José Valim <jose.valim@gmail.com>
* Also allow prefixes as third argument to lookup context.José Valim2011-05-041-2/+2
|
* initialize prefixes in LookupContext.Nick Sutterer2011-05-041-0/+1
|
* added :prefixes accessor to LookupContext.Nick Sutterer2011-05-031-0/+2
|
* Use Mime::Type references.José Valim2011-02-081-2/+2
|
* Solve SystemStackError when changing locale inside ActionMailer [#5329 ↵José Valim2011-01-191-2/+2
| | | | state:resolved]
* Final tidy up on templates inheritance.José Valim2010-12-271-6/+7
|
* all tests passartemave2010-12-261-1/+1
|
* #948 template_inheritanceartemave2010-12-261-12/+19
|
* Ensure resolvers backward compatibility.José Valim2010-12-091-1/+1
|
* Remove :cache => true on lookup templates initialization.José Valim2010-10-141-1/+1
|
* Do not allow templates coming from Fallback resolvers to store a virtual path.José Valim2010-10-101-1/+1
|
* Allow cache to be temporarily disabled through lookup_context.José Valim2010-10-071-1/+12
|
* Remove locals dependency from template.José Valim2010-10-071-8/+8
| | | | | | This means that templates does not need to store its source anymore, allowing us to reduce the ammount of memory taken by our Rails processes. Naively speaking, if your app/views contains 2MB of files, each of your processes (after being hit by a bunch of requests) will take 2MB less of memory after this commit. This is extremely important for the upcoming features. Since Rails will also render CSS and JS files, their source won't be stored as well allowing us to decrease the ammount of memory taken.
* Added title to some other files in actionpack/lib/action_viewRizwan Reza2010-06-161-0/+2
|
* Fix case when rendering a partial inside RJS with inherited layout [#4786 ↵José Valim2010-06-071-1/+1
| | | | state:resolved]
* Make AP test suite green once again and speed up performance in layouts ↵José Valim2010-06-071-18/+33
| | | | lookup for some cases.
* Optimize LookupContextwycats2010-06-041-10/+25
|
* Fix ActionMailer test broken in 99d54599215c2a8cea7e57f609e8e578043d71b2José Valim2010-04-121-3/+10
|
* Fixed that default locale templates should be used if the current locale ↵Carl Lerche2010-04-081-2/+2
| | | | template is missing [DHH]
* Ensure details are frozen after @details_keys lookup. The implementation ↵José Valim2010-03-271-4/+17
| | | | waits to freeze until the last required moment, to avoid duping hashes.
* Remove reference to unexistent methods and fix typo.José Valim2010-03-261-1/+1
|
* Improve performance of the rendering stack by freezing formats as a sign ↵José Valim2010-03-191-38/+34
| | | | that they shouldn't be further modified.
* Move more normalization up to the lookup context, so it does not have to ↵José Valim2010-03-161-6/+30
| | | | repeat in every resolver.
* Optimize DetailsKey generation.José Valim2010-03-141-4/+5
|
* Allow anything that responds to render to be given as :template and use ↵José Valim2010-03-121-0/+2
| | | | find_template instead of find in views.
* Make all AP tests pass for Ruby 1.9.1.José Valim2010-03-121-8/+11
|
* Add tests for lookup context.José Valim2010-03-111-33/+33
|