aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/lookup_context_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* format lookup for partials is derived from the format in which the template ↵Santiago Pastorino2012-02-221-2/+2
| | | | | | is being rendered Closes #5025 part 2
* Clean up details keys before some tests to expire the cache.José Valim2011-12-141-7/+1
|
* Get rid of update_details in favor of passing details to find_template.José Valim2011-09-221-10/+0
|
* Merge pull request #420 from burke/masterJosé Valim2011-05-081-0/+9
|\ | | | | Accept single prefix in ActionView::MissingTemplate#initialize
| * Added a test for MissingTemplate change, and changed to use Array.wrap() asBurke Libbey2011-05-061-0/+9
| | | | | | | | requested by josevalim.
* | Always expand */*José Valim2011-05-071-1/+1
| |
* | Fixes ticket #6379. Improved the handling of Accept headers containing */*.mathieuravaux2011-05-071-0/+5
|/ | | | | | | `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>
* fixed test to assert initialization value.Nick Sutterer2011-05-041-1/+1
|
* added :prefixes accessor to LookupContext.Nick Sutterer2011-05-031-0/+6
|
* Buffer should be an option passed down to template rendering.José Valim2011-04-161-25/+0
|
* Use Mime::Type references.José Valim2011-02-081-1/+1
|
* Solve SystemStackError when changing locale inside ActionMailer [#5329 ↵José Valim2011-01-191-1/+1
| | | | state:resolved]
* Don't be so picky on MissingTemplate error details, this fails randomly on ↵Piotr Sarnacki2010-12-311-4/+3
| | | | 1.8.7 because of not ordered hash
* added tests for the MissingTemplate exception message.Nick Sutterer2010-12-311-0/+21
|
* all tests passartemave2010-12-261-24/+24
|
* Allow template handlers to store temp data.José Valim2010-11-241-2/+27
|
* Remove :cache => true on lookup templates initialization.José Valim2010-10-141-4/+0
|
* Do not allow templates coming from Fallback resolvers to store a virtual path.José Valim2010-10-101-2/+2
|
* Resolvers now consider timestamps.José Valim2010-10-101-0/+45
| | | | | | | | | | | Before this patch, every request in development caused the template to be compiled, regardless if it was updated in the filesystem or not. This patch now checks the timestamp and only compiles it again if any change was done. While this probably won't show any difference for current setups, but it will be useful for asset template handlers (like SASS), as compiling their templates is slower than ERb, Haml, etc.
* Allow cache to be temporarily disabled through lookup_context.José Valim2010-10-071-0/+21
|
* Make AP test suite green once again and speed up performance in layouts ↵José Valim2010-06-071-14/+2
| | | | lookup for some cases.
* Improve performance of the rendering stack by freezing formats as a sign ↵José Valim2010-03-191-15/+28
| | | | 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-8/+8
| | | | repeat in every resolver.
* Make all AP tests pass for Ruby 1.9.1.José Valim2010-03-121-3/+1
|
* Add tests for lookup context.José Valim2010-03-111-0/+167