aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template_handlers
Commit message (Collapse)AuthorAgeFilesLines
* use autoload instead of explicit requires for ActionViewJoshua Peek2008-11-231-39/+0
|
* Prefix ActionView::Base private methods with an underscoreJoshua Peek2008-08-311-1/+1
|
* Ruby 1.9: Strip encoding from ERB source since you can not change character ↵Joshua Peek2008-07-191-2/+5
| | | | encoding during a method
* Set the response content type to that of found template if not explicitly ↵Tom Ward2008-07-181-2/+1
| | | | | | set elsewhere [#444 state:resolved] Signed-off-by: Joshua Peek <josh@joshpeek.com>
* 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.
* Get buffer for fragment cache from template's @output_bufferJoshua Peek2008-07-153-23/+1
|
* 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 = {})
* Check for response in builder template since ActionMailer does not have oneJoshua Peek2008-07-111-1/+2
|
* Put a newline rather than a semicolon at the end of RJS source to avoid ↵Jeremy Kemper2008-07-091-1/+1
| | | | parse errors with embedded heredocs
* 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-053-66/+55
|
* Moved complied method name logic into RenderableJoshua Peek2008-07-051-22/+2
|
* Don't rely on view instance loggerJoshua Peek2008-07-031-4/+4
|
* Improve readabilityJeremy Kemper2008-06-241-1/+3
|
* Check whether blocks are called from erb using a special __in_erb_template ↵Jeremy Kemper2008-06-192-2/+9
| | | | variable visible in block binding.
* Move erb_trim_mode setting to the ERB template handler. Keep a ↵Jeremy Kemper2008-06-191-1/+6
| | | | Base.erb_trim_mode= delegator around.
* 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
|
* Work with @output_buffer instead of _erboutJeremy Kemper2008-06-022-4/+5
|
* Try replacing _erbout with @output_bufferJeremy Kemper2008-06-021-4/+2
|
* Pass template object to Handler#compilePratik Naik2008-04-244-4/+4
|
* Automatically parse posted JSON content for Mime::JSON requests. [rick]Rick Olson2008-04-081-1/+1
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9242 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* add json_escape ERB util to escape html entities in json strings that are ↵Rick Olson2008-04-081-1/+19
| | | | | | output in HTML pages. [rick] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9241 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* 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-224-13/+123
| | | | | | Closes #10888 [lifofifo] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8689 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* * Pass around handler instances, not their classes [Koz]Michael Koziarski2008-01-113-0/+12
| | | | | | | | * Move compilation, rendering and 'compilable?' checks into the Handlers [Koz] * Remove delegate_* methods as the handler is now an instance [Koz] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8624 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Move fragment caching from special helper methods to TemplateHandler. Closes ↵Jeremy Kemper2008-01-103-0/+23
| | | | | | #10754 [Josh Peek] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8619 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* The asset_host block takes the controller request as an optional second ↵Jeremy Kemper2008-01-061-0/+9
| | | | | | argument. Example: use a single asset host for SSL requests. Closes #10549. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8578 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Add tests for html_escape, and remove an unneeded backslash (closes #10511) ↵David Heinemeier Hansson2007-12-161-1/+1
| | | | | | [fxn] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8422 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* More Action View refactoring. Knock :erb default down a notch. Closes #10455.Jeremy Kemper2007-12-102-0/+8
| | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8374 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
* Refactor Action View template handlers. Closes #10437.Jeremy Kemper2007-12-093-0/+46
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de