aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template_handlers/compilable.rb
Commit message (Collapse)AuthorAgeFilesLines
* Removed lagacy TemplateHandler#render API. Left in a legacy TemplateHandler ↵Joshua Peek2008-07-181-20/+0
| | | | and Compilable stub so plugins will not have to change anything.
* Move dead recompile_template? alsoJeremy Kemper2008-07-141-12/+0
|
* Remove dead code from mergeJeremy Kemper2008-07-141-30/+0
|
* Fix bad mergeJeremy Kemper2008-07-141-2/+2
|
* Use instance_method(...) to check whether the method existsJeremy Kemper2008-07-141-2/+44
|
* Refactor template preloading. New abstractions include Renderable mixins and ↵Joshua Peek2008-07-121-50/+0
| | | | a refactored Template class.
* Changed ActionView::TemplateHandler#render API method signature to ↵Joshua Peek2008-07-111-2/+2
| | | | render(template, local_assigns = {})
* Use ActionController::Base.logger to report template compilation errors ↵Jeremy Kemper2008-07-091-4/+4
| | | | since there is no AV::Base.logger
* Added local assign keys to compiled method name so two threads evaluating ↵Joshua Peek2008-07-061-24/+1
| | | | the same template with different locals don't step on top of each other
* Synchronize template compilingJoshua Peek2008-07-061-31/+34
|
* Lookup compiled methods in CompiledTemplates instance methods set instead of ↵Joshua Peek2008-07-051-34/+24
| | | | using a "methods_names" hash
* Do not stat template files in production mode before rendering. You will no ↵Joshua Peek2008-07-051-28/+15
| | | | longer be able to modify templates in production mode without restarting the server
* Deprecated TemplateHandler line offsetJoshua Peek2008-07-051-51/+50
|
* Moved complied method name logic into RenderableJoshua Peek2008-07-051-22/+2
|
* Don't rely on view instance loggerJoshua Peek2008-07-031-4/+4
|
* Check whether blocks are called from erb using a special __in_erb_template ↵Jeremy Kemper2008-06-191-1/+7
| | | | variable visible in block binding.
* Use output_buffer reader and writer methods exclusively instead of hitting ↵Jeremy Kemper2008-06-081-1/+1
| | | | the instance variable so others can override the methods.
* Stack @output_buffer for nested renderingJeremy Kemper2008-06-031-2/+2
|
* Pass template object to Handler#compilePratik Naik2008-04-241-1/+1
|
* Refactor partial rendering into a PartialTemplate class. [Pratik]Michael Koziarski2008-03-031-0/+4
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8976 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Introduce a Template class to ActionView. Closes #11024 [lifofifo]Michael Koziarski2008-02-061-22/+18
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8805 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move the declaration of the compilation related cattr_accessors to ↵Michael Koziarski2008-01-301-0/+12
| | | | | | compilable. Closes #10959 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8756 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Correct line numbers from template errors. Closes #10937 [Aleksey Kondratenko]Michael Koziarski2008-01-271-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor template compilation from AV::Base into the template handlers. ↵Michael Koziarski2008-01-221-0/+116
Closes #10888 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de