aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template/handler.rb
Commit message (Collapse)AuthorAgeFilesLines
* SReorganize autoloads slightly and move two files to lib/action_view root.José Valim2010-10-141-2/+2
|
* Deprecate old template handler API. Remove old handlers.José Valim2010-10-101-1/+9
|
* Deletes trailing whitespaces (over text files only find * -type f -exec sed ↵Santiago Pastorino2010-08-141-1/+1
| | | | 's/[ \t]*$//' -i {} \;)
* Convert to class_attributeJeremy Kemper2010-02-011-2/+2
|
* Silence some trivial warnings: shadowed local vars, indentation mismatchesJeremy Kemper2009-12-281-2/+2
|
* Reorganize autoloads:Carlhuda2009-12-021-21/+26
| | | | | | | | | | | | | | | | | | | | | * 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.
* More cleanup of ActionView and reduction in need for blocks in some cases:Yehuda Katz2009-08-151-4/+0
| | | | | | | | * only one of partial_name or :as will be available as a local * `object` is removed * Simplify _layout_for in most cases. * Remove <% render :partial do |args| %> * <% render :partial do %> still works fine
* Clean up ActionView some:Yehuda Katz2009-08-151-1/+1
| | | | | | | | | | * Call _evaluate_assigns_and_ivars at the two entry points so we don't have to do a check at every render. * Make template.render viable without having to go through a wrapper method * Remove old TemplateHandler#render(template, local_assigns) path so we don't have to set self.template every time we render a template. * Move Template rescuing code to Template#render so it gets caught every time. * Pull in some tests from Pratik that test render @object in ActionView
* Added the :rjs render optionYehuda Katz + Carl Lerche2009-05-211-0/+1
|
* Remove some response content type concepts from ActionViewYehuda Katz + Carl Lerche2009-05-211-0/+5
|
* Begin unifying the interface between ActionController and ActionViewYehuda Katz2009-01-221-0/+34