Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Track rendered templates in stack so the current template can always be ↵ | Joshua Peek | 2008-10-28 | 1 | -3/+8 |
| | | | | accessed. Added ActionView::Base#template to access the template object. | ||||
* | Remove stuff that was deprecated in 2-1-stable | Pratik Naik | 2008-10-21 | 1 | -16/+0 |
| | |||||
* | Move controller ivar copying to a separate method | Pratik Naik | 2008-10-05 | 1 | -8/+10 |
| | |||||
* | Protect body ivar from being clobbered by the mailer template assigns | Joshua Peek | 2008-09-28 | 1 | -2/+2 |
| | |||||
* | Check for uninitialized instance variables | Jeremy Kemper | 2008-09-08 | 1 | -4/+6 |
| | |||||
* | Moved layout exemption logic into the view | Joshua Peek | 2008-08-31 | 1 | -52/+55 |
| | |||||
* | Prefix ActionView::Base private methods with an underscore | Joshua Peek | 2008-08-31 | 1 | -5/+6 |
| | |||||
* | Fix AM tests and add tests for rendering logging | Pratik Naik | 2008-08-31 | 1 | -2/+0 |
| | |||||
* | Add lost log messages about template rendering | Pratik Naik | 2008-08-31 | 1 | -0/+3 |
| | |||||
* | Move layout rendering logic to ActionView::Base | Pratik Naik | 2008-08-31 | 1 | -17/+28 |
| | |||||
* | Move copying ivar logic from ActionController::Base to ActionView::Base | Pratik Naik | 2008-08-31 | 1 | -7/+9 |
| | |||||
* | Store application and other context specific helper modules in ↵ | Joshua Peek | 2008-08-26 | 1 | -0/+14 |
| | | | | ActionView::Base#helpers | ||||
* | Cache JavaScriptGenerator's helper module set on the template | Joshua Peek | 2008-08-26 | 1 | -5/+0 |
| | |||||
* | Performance: Cache modules that extend the view context for JavaScriptGenerator | Joshua Peek | 2008-08-25 | 1 | -2/+6 |
| | |||||
* | Include all helpers into ActionView::Helper | Joshua Peek | 2008-08-25 | 1 | -13/+0 |
| | |||||
* | Removed template_public? because it will always be true since the default ↵ | Joshua Peek | 2008-08-21 | 1 | -5/+0 |
| | | | | template is never a partial | ||||
* | Cleanup around partial rendering | Ryan Bates | 2008-08-21 | 1 | -35/+8 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Return nil instead of a space when passing an empty collection or nil to ↵ | Ryan Bates | 2008-08-19 | 1 | -1/+1 |
| | | | | | | 'render :partial' [#791 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Consistently use the framework's configured logger and avoid reverting to ↵ | Joshua Peek | 2008-08-18 | 1 | -1/+2 |
| | | | | RAILS_DEFAULT_LOGGER unless necessary. | ||||
* | pass yielded arguments to block for ActionView::Base#render with :layout ↵ | Ryan Bates | 2008-08-17 | 1 | -15/+8 |
| | | | | | | [#847 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Tidy up ActionMailer rendering logic to take advantage of view path cache ↵ | Joshua Peek | 2008-08-06 | 1 | -1/+4 |
| | | | | instead of using file system lookups | ||||
* | Fixed bc5896e, and added test case for the caching bug it originally introduced. | Joshua Peek | 2008-07-23 | 1 | -0/+3 |
| | |||||
* | Revert 'bc5896e' | Joshua Peek | 2008-07-23 | 1 | -3/+0 |
| | |||||
* | Memoize ActionView::Base pick_template and find_partial_path for rendering ↵ | Joshua Peek | 2008-07-22 | 1 | -2/+5 |
| | | | | duration | ||||
* | Fixed spelling mistake in deprecation warning [#381 state:resolved] | Joshua Peek | 2008-07-19 | 1 | -4/+6 |
| | |||||
* | Set the response content type to that of found template if not explicitly ↵ | Tom Ward | 2008-07-18 | 1 | -0/+6 |
| | | | | | | set elsewhere [#444 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | Removed lagacy TemplateHandler#render API. Left in a legacy TemplateHandler ↵ | Joshua Peek | 2008-07-18 | 1 | -2/+2 |
| | | | | and Compilable stub so plugins will not have to change anything. | ||||
* | Wrap AssetTagHelper's computed public path cache in a threadsafe store | Joshua Peek | 2008-07-17 | 1 | -4/+0 |
| | |||||
* | Merge with docrails. | Pratik Naik | 2008-07-16 | 1 | -1/+1 |
| | |||||
* | Removed config.action_view.cache_template_loading, use config.cache_classes ↵ | Joshua Peek | 2008-07-15 | 1 | -3/+4 |
| | | | | instead | ||||
* | Check first render format and extension. Fixes failing ActionMailer test. | Joshua Peek | 2008-07-13 | 1 | -1/+1 |
| | |||||
* | Made ActionView::Base#first_render a little more private. And added ↵ | Joshua Peek | 2008-07-13 | 1 | -3/+3 |
| | | | | _last_render to track the most recent render. Will fix #609 as a side effect. [#609 state:resolved] | ||||
* | Set config.action_view.warn_cache_misses = true to receive a warning if you ↵ | Joshua Peek | 2008-07-12 | 1 | -2/+20 |
| | | | | perform an action that results in an expensive disk operation that could be cached | ||||
* | Refactor template preloading. New abstractions include Renderable mixins and ↵ | Joshua Peek | 2008-07-12 | 1 | -35/+44 |
| | | | | a refactored Template class. | ||||
* | Changed ActionView::TemplateHandler#render API method signature to ↵ | Joshua Peek | 2008-07-11 | 1 | -2/+2 |
| | | | | render(template, local_assigns = {}) | ||||
* | Disable the Accept header by default | Michael Koziarski | 2008-07-07 | 1 | -7/+3 |
| | | | | | | | | The accept header is poorly implemented by browsers and causes strange errors when used on public sites where crawlers make requests too. You should use formatted urls (e.g. /people/1.xml) to support API clients. Alternatively to re-enable it you need to set: config.action_controller.use_accept_header = true A special case remains for ajax requests which will have a javascript format for the base resource (/people/1) if the X-Requested-With header is present. This lets ajax pages still use format.js despite there being no params[:format] | ||||
* | Lookup compiled methods in CompiledTemplates instance methods set instead of ↵ | Joshua Peek | 2008-07-05 | 1 | -4/+0 |
| | | | | using a "methods_names" hash | ||||
* | Do not stat template files in production mode before rendering. You will no ↵ | Joshua Peek | 2008-07-05 | 1 | -1/+1 |
| | | | | longer be able to modify templates in production mode without restarting the server | ||||
* | Removed unused template_args variable | Joshua Peek | 2008-07-05 | 1 | -2/+0 |
| | |||||
* | Revert "Moved TemplateHandlers to Base" | Joshua Peek | 2008-07-03 | 1 | -1/+0 |
| | | | | | | | | | This reverts commit 42d215a925a228778e43f7040f03ad8f3eb5341c. Conflicts: actionpack/lib/action_view/inline_template.rb actionpack/lib/action_view/template.rb | ||||
* | Reduce the number of callsites for new TemplateFiles | Joshua Peek | 2008-07-03 | 1 | -11/+17 |
| | |||||
* | Use render on InlineTemplate | Joshua Peek | 2008-07-03 | 1 | -1/+1 |
| | |||||
* | Moved TemplateHandlers to Base | Joshua Peek | 2008-07-03 | 1 | -0/+1 |
| | |||||
* | Move template_format logic out to the request so it's alongside the ↵ | Michael Koziarski | 2008-07-03 | 1 | -11/+1 |
| | | | | | | 'regular' request format. Use xhr? instead of the expensive trip through Request#accepts. | ||||
* | Remove unneeded ObjectWrapper class. | Michael Koziarski | 2008-07-03 | 1 | -4/+1 |
| | | | | Was previously needed to work around the semantics of a deprecated (now removed) API to render :partial | ||||
* | Deprecate :use_full_path render option. The supplying the option no longer ↵ | Joshua Peek | 2008-07-02 | 1 | -7/+5 |
| | | | | has an effect. | ||||
* | Add :as option to render a collection of partials with a custom local ↵ | Pratik Naik | 2008-07-02 | 1 | -1/+1 |
| | | | | variable name. [#509 state:resolved] [Simon Jefford, Pratik Naik] | ||||
* | Hide InlineTemplate class from ActionController and use ActionView's render API | Joshua Peek | 2008-06-25 | 1 | -6/+5 |
| | |||||
* | Made ActionView::Base#render_file private | Joshua Peek | 2008-06-25 | 1 | -20/+20 |
| | |||||
* | Move erb_trim_mode setting to the ERB template handler. Keep a ↵ | Jeremy Kemper | 2008-06-19 | 1 | -4/+3 |
| | | | | Base.erb_trim_mode= delegator around. |