Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | yield always return an array, so we don't need to use .key? | José Valim | 2010-03-31 | 1 | -6/+1 |
| | |||||
* | Improve performance of the rendering stack by freezing formats as a sign ↵ | José Valim | 2010-03-19 | 1 | -7/+12 |
| | | | | that they shouldn't be further modified. | ||||
* | Sending the partial as info is no longer required. | José Valim | 2010-03-18 | 1 | -3/+3 |
| | |||||
* | Move more normalization up to the lookup context, so it does not have to ↵ | José Valim | 2010-03-16 | 1 | -23/+1 |
| | | | | repeat in every resolver. | ||||
* | Optimize and clean up how details key get expired. | José Valim | 2010-03-10 | 1 | -0/+5 |
| | |||||
* | Clean up the API required from ActionView::Template. | José Valim | 2010-03-09 | 1 | -19/+12 |
| | |||||
* | Clean LookupContext API. | José Valim | 2010-03-08 | 1 | -6/+10 |
| | |||||
* | Move details to lookup_context and make resolvers use the cache key. | José Valim | 2010-03-08 | 1 | -34/+12 |
| | |||||
* | Speed up performance in resolvers by adding fallbacks just when required. | José Valim | 2010-03-08 | 1 | -24/+7 |
| | |||||
* | First take on ViewPaths clean up. | José Valim | 2010-03-07 | 1 | -8/+11 |
| | |||||
* | Actually, revert previous commit. Having a lot of information is better than ↵ | José Valim | 2010-03-05 | 1 | -9/+3 |
| | | | | having no information at all. | ||||
* | Define to_s method in ActionView::Resolver, so I'm not required to write it ↵ | José Valim | 2010-03-05 | 1 | -1/+5 |
| | | | | in inherited classes. | ||||
* | Fix render :file => "#{Rails.root}/public/404.html", :status => :not_found. ↵ | Yehuda Katz | 2010-02-23 | 1 | -1/+1 |
| | | | | Closes #8994 | ||||
* | Resolve view paths correctly on CygWin | Sam Ruby | 2010-02-02 | 1 | -1/+1 |
| | | | | Signed-off-by: Mikel Lindsaar <raasdnil@gmail.com> | ||||
* | Convert to class_attribute | Jeremy Kemper | 2010-02-01 | 1 | -1/+2 |
| | |||||
* | deOMGifying Railties, Active Support, and Action Pack | Mikel Lindsaar | 2010-01-31 | 1 | -2/+1 |
| | |||||
* | Fix t('.helper'). | José Valim | 2010-01-26 | 1 | -5/+8 |
| | |||||
* | Silence some trivial warnings: shadowed local vars, indentation mismatches | Jeremy Kemper | 2009-12-28 | 1 | -8/+4 |
| | |||||
* | Reorganize autoloads: | Carlhuda | 2009-12-02 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | * A new module (ActiveSupport::Autoload) is provide that extends autoloading with new behavior. * All autoloads in modules that have extended ActiveSupport::Autoload will be eagerly required in threadsafe environments * Autoloads can optionally leave off the path if the path is the same as full_constant_name.underscore * It is possible to specify that a group of autoloads live under an additional path. For instance, all of ActionDispatch's middlewares are ActionDispatch::MiddlewareName, but they live under "action_dispatch/middlewares/middleware_name" * It is possible to specify that a group of autoloads are all found at the same path. For instance, a number of exceptions might all be declared there. * One consequence of this is that testing-related constants are not autoloaded. To get the testing helpers for a given component, require "component_name/test_case". For instance, "action_controller/test_case". * test_help.rb, which is automatically required by a Rails application's test helper, requires the test_case.rb for all active components, so this change will not be disruptive in existing or new applications. | ||||
* | Fix a bug where templates with locales were not being sorted correctly | Yehuda Katz | 2009-10-16 | 1 | -1/+1 |
| | |||||
* | Replace :formats => ["*/*"] with the default formats set | Yehuda Katz + Carl Lerche | 2009-09-03 | 1 | -0/+2 |
| | |||||
* | Refactor ActionView::Resolver | Yehuda Katz + Carl Lerche | 2009-09-03 | 1 | -77/+95 |
| | |||||
* | Fix the */* with Net::HTTP bug [#3100 state:resolved] | Yehuda Katz + Carl Lerche | 2009-09-01 | 1 | -22/+9 |
| | |||||
* | Add a default parameter for Resolver#initialize | Carl Lerche | 2009-08-26 | 1 | -1/+1 |
| | |||||
* | Got tests to pass with some more changes. | Yehuda Katz | 2009-08-15 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | * request.formats is much simpler now * For XHRs or Accept headers with a single item, we use the Accept header * For other requests, we use params[:format] or fallback to HTML * This is primarily to work around the fact that browsers provide completely broken Accept headers, so we have to whitelist the few cases we can specifically isolate and treat other requests as coming from the browser * For APIs, we can support single-item Accept headers, which disambiguates from the browsers * Requests to an action that only has an XML template from the browser will no longer find the template. This worked previously because most browsers provide a catch-all */*, but this was mostly accidental behavior. If you want to serve XML, either use the :xml format in links, or explicitly specify the XML template: render "template.xml". | ||||
* | Add some more caching to the lookup | Yehuda Katz | 2009-08-11 | 1 | -12/+18 |
| | |||||
* | This change causes some failing tests, but it should be possible to make ↵ | Yehuda Katz | 2009-08-11 | 1 | -2/+4 |
| | | | | them pass with minimal performance impact. | ||||
* | Rename find_by_parts and find_by_parts? to find and exists? | Yehuda Katz | 2009-08-07 | 1 | -1/+1 |
| | |||||
* | Rename path.rb to resolver.rb | Yehuda Katz + Carl Lerche | 2009-06-17 | 1 | -0/+150 |