Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Deprecate passing the template handler in the template name. | José Valim | 2011-09-22 | 1 | -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é Valim | 2011-09-22 | 1 | -6/+3 |
| | |||||
* | Get rid of update_details in favor of passing details to find_template. | José Valim | 2011-09-22 | 1 | -29/+4 |
| | |||||
* | it is now possible to pass details options (:formats, :details, :locales, ↵ | Nick Sutterer | 2011-09-22 | 1 | -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é Valim | 2011-09-22 | 1 | -3/+2 |
| | |||||
* | Slightly reorganize lookup context modules in order to better isolate cache ↵ | José Valim | 2011-09-21 | 1 | -100/+111 |
| | | | | responsibilities. | ||||
* | deprecating process_view_paths | Aaron Patterson | 2011-08-09 | 1 | -1/+1 |
| | |||||
* | Remove trailing white-spaces | Guillermo Iguaran | 2011-06-05 | 1 | -1/+1 |
| | |||||
* | Always expand */* | José Valim | 2011-05-07 | 1 | -7/+4 |
| | |||||
* | Fixes ticket #6379. Improved the handling of Accept headers containing */*. | mathieuravaux | 2011-05-07 | 1 | -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é Valim | 2011-05-04 | 1 | -2/+2 |
| | |||||
* | initialize prefixes in LookupContext. | Nick Sutterer | 2011-05-04 | 1 | -0/+1 |
| | |||||
* | added :prefixes accessor to LookupContext. | Nick Sutterer | 2011-05-03 | 1 | -0/+2 |
| | |||||
* | Use Mime::Type references. | José Valim | 2011-02-08 | 1 | -2/+2 |
| | |||||
* | Solve SystemStackError when changing locale inside ActionMailer [#5329 ↵ | José Valim | 2011-01-19 | 1 | -2/+2 |
| | | | | state:resolved] | ||||
* | Final tidy up on templates inheritance. | José Valim | 2010-12-27 | 1 | -6/+7 |
| | |||||
* | all tests pass | artemave | 2010-12-26 | 1 | -1/+1 |
| | |||||
* | #948 template_inheritance | artemave | 2010-12-26 | 1 | -12/+19 |
| | |||||
* | Ensure resolvers backward compatibility. | José Valim | 2010-12-09 | 1 | -1/+1 |
| | |||||
* | Remove :cache => true on lookup templates initialization. | José Valim | 2010-10-14 | 1 | -1/+1 |
| | |||||
* | Do not allow templates coming from Fallback resolvers to store a virtual path. | José Valim | 2010-10-10 | 1 | -1/+1 |
| | |||||
* | Allow cache to be temporarily disabled through lookup_context. | José Valim | 2010-10-07 | 1 | -1/+12 |
| | |||||
* | Remove locals dependency from template. | José Valim | 2010-10-07 | 1 | -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_view | Rizwan Reza | 2010-06-16 | 1 | -0/+2 |
| | |||||
* | Fix case when rendering a partial inside RJS with inherited layout [#4786 ↵ | José Valim | 2010-06-07 | 1 | -1/+1 |
| | | | | state:resolved] | ||||
* | Make AP test suite green once again and speed up performance in layouts ↵ | José Valim | 2010-06-07 | 1 | -18/+33 |
| | | | | lookup for some cases. | ||||
* | Optimize LookupContext | wycats | 2010-06-04 | 1 | -10/+25 |
| | |||||
* | Fix ActionMailer test broken in 99d54599215c2a8cea7e57f609e8e578043d71b2 | José Valim | 2010-04-12 | 1 | -3/+10 |
| | |||||
* | Fixed that default locale templates should be used if the current locale ↵ | Carl Lerche | 2010-04-08 | 1 | -2/+2 |
| | | | | template is missing [DHH] | ||||
* | Ensure details are frozen after @details_keys lookup. The implementation ↵ | José Valim | 2010-03-27 | 1 | -4/+17 |
| | | | | waits to freeze until the last required moment, to avoid duping hashes. | ||||
* | Remove reference to unexistent methods and fix typo. | José Valim | 2010-03-26 | 1 | -1/+1 |
| | |||||
* | Improve performance of the rendering stack by freezing formats as a sign ↵ | José Valim | 2010-03-19 | 1 | -38/+34 |
| | | | | that they shouldn't be further modified. | ||||
* | Move more normalization up to the lookup context, so it does not have to ↵ | José Valim | 2010-03-16 | 1 | -6/+30 |
| | | | | repeat in every resolver. | ||||
* | Optimize DetailsKey generation. | José Valim | 2010-03-14 | 1 | -4/+5 |
| | |||||
* | Allow anything that responds to render to be given as :template and use ↵ | José Valim | 2010-03-12 | 1 | -0/+2 |
| | | | | find_template instead of find in views. | ||||
* | Make all AP tests pass for Ruby 1.9.1. | José Valim | 2010-03-12 | 1 | -8/+11 |
| | |||||
* | Add tests for lookup context. | José Valim | 2010-03-11 | 1 | -33/+33 |
| | |||||
* | Optimize and clean up how details key get expired. | José Valim | 2010-03-10 | 1 | -28/+29 |
| | |||||
* | Clean LookupContext API. | José Valim | 2010-03-08 | 1 | -5/+5 |
| | |||||
* | Bring AM up to date with new rendering stack. | José Valim | 2010-03-08 | 1 | -0/+5 |
| | |||||
* | Move details to lookup_context and make resolvers use the cache key. | José Valim | 2010-03-08 | 1 | -54/+103 |
| | |||||
* | Speed up performance in resolvers by adding fallbacks just when required. | José Valim | 2010-03-08 | 1 | -0/+16 |
| | |||||
* | Rename Template::Lookup to LookupContext. | José Valim | 2010-03-08 | 1 | -0/+80 |