Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge with docrails | Pratik Naik | 2008-12-07 | 1 | -0/+2 |
| | |||||
* | Set template_format to html inside rjs templates so renders within it ↵ | Joshua Peek | 2008-12-04 | 1 | -0/+1 |
| | | | | default to html. | ||||
* | use autoload instead of explicit requires for ActionView | Joshua Peek | 2008-11-23 | 1 | -39/+0 |
| | |||||
* | Prefix ActionView::Base private methods with an underscore | Joshua Peek | 2008-08-31 | 1 | -1/+1 |
| | |||||
* | Ruby 1.9: Strip encoding from ERB source since you can not change character ↵ | Joshua Peek | 2008-07-19 | 1 | -2/+5 |
| | | | | encoding during a method | ||||
* | Set the response content type to that of found template if not explicitly ↵ | Tom Ward | 2008-07-18 | 1 | -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 Peek | 2008-07-18 | 1 | -20/+0 |
| | | | | and Compilable stub so plugins will not have to change anything. | ||||
* | Get buffer for fragment cache from template's @output_buffer | Joshua Peek | 2008-07-15 | 3 | -23/+1 |
| | |||||
* | Move dead recompile_template? also | Jeremy Kemper | 2008-07-14 | 1 | -12/+0 |
| | |||||
* | Remove dead code from merge | Jeremy Kemper | 2008-07-14 | 1 | -30/+0 |
| | |||||
* | Fix bad merge | Jeremy Kemper | 2008-07-14 | 1 | -2/+2 |
| | |||||
* | Use instance_method(...) to check whether the method exists | Jeremy Kemper | 2008-07-14 | 1 | -2/+44 |
| | |||||
* | Refactor template preloading. New abstractions include Renderable mixins and ↵ | Joshua Peek | 2008-07-12 | 1 | -50/+0 |
| | | | | a refactored Template class. | ||||
* | Changed ActionView::TemplateHandler#render API method signature to ↵ | Joshua Peek | 2008-07-11 | 1 | -2/+2 |
| | | | | render(template, local_assigns = {}) | ||||
* | Check for response in builder template since ActionMailer does not have one | Joshua Peek | 2008-07-11 | 1 | -1/+2 |
| | |||||
* | Put a newline rather than a semicolon at the end of RJS source to avoid ↵ | Jeremy Kemper | 2008-07-09 | 1 | -1/+1 |
| | | | | parse errors with embedded heredocs | ||||
* | Use ActionController::Base.logger to report template compilation errors ↵ | Jeremy Kemper | 2008-07-09 | 1 | -4/+4 |
| | | | | since there is no AV::Base.logger | ||||
* | Added local assign keys to compiled method name so two threads evaluating ↵ | Joshua Peek | 2008-07-06 | 1 | -24/+1 |
| | | | | the same template with different locals don't step on top of each other | ||||
* | Synchronize template compiling | Joshua Peek | 2008-07-06 | 1 | -31/+34 |
| | |||||
* | Lookup compiled methods in CompiledTemplates instance methods set instead of ↵ | Joshua Peek | 2008-07-05 | 1 | -34/+24 |
| | | | | using a "methods_names" hash | ||||
* | Do not stat template files in production mode before rendering. You will no ↵ | Joshua Peek | 2008-07-05 | 1 | -28/+15 |
| | | | | longer be able to modify templates in production mode without restarting the server | ||||
* | Deprecated TemplateHandler line offset | Joshua Peek | 2008-07-05 | 3 | -66/+55 |
| | |||||
* | Moved complied method name logic into Renderable | Joshua Peek | 2008-07-05 | 1 | -22/+2 |
| | |||||
* | Don't rely on view instance logger | Joshua Peek | 2008-07-03 | 1 | -4/+4 |
| | |||||
* | Improve readability | Jeremy Kemper | 2008-06-24 | 1 | -1/+3 |
| | |||||
* | Check whether blocks are called from erb using a special __in_erb_template ↵ | Jeremy Kemper | 2008-06-19 | 2 | -2/+9 |
| | | | | variable visible in block binding. | ||||
* | Move erb_trim_mode setting to the ERB template handler. Keep a ↵ | Jeremy Kemper | 2008-06-19 | 1 | -1/+6 |
| | | | | Base.erb_trim_mode= delegator around. | ||||
* | Use output_buffer reader and writer methods exclusively instead of hitting ↵ | Jeremy Kemper | 2008-06-08 | 1 | -1/+1 |
| | | | | the instance variable so others can override the methods. | ||||
* | Stack @output_buffer for nested rendering | Jeremy Kemper | 2008-06-03 | 1 | -2/+2 |
| | |||||
* | Work with @output_buffer instead of _erbout | Jeremy Kemper | 2008-06-02 | 2 | -4/+5 |
| | |||||
* | Try replacing _erbout with @output_buffer | Jeremy Kemper | 2008-06-02 | 1 | -4/+2 |
| | |||||
* | Pass template object to Handler#compile | Pratik Naik | 2008-04-24 | 4 | -4/+4 |
| | |||||
* | Automatically parse posted JSON content for Mime::JSON requests. [rick] | Rick Olson | 2008-04-08 | 1 | -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 Olson | 2008-04-08 | 1 | -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 Koziarski | 2008-03-03 | 1 | -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 Koziarski | 2008-02-06 | 1 | -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 Koziarski | 2008-01-30 | 1 | -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 Koziarski | 2008-01-27 | 1 | -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 Koziarski | 2008-01-22 | 4 | -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 Koziarski | 2008-01-11 | 3 | -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 Kemper | 2008-01-10 | 3 | -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 Kemper | 2008-01-06 | 1 | -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 Hansson | 2007-12-16 | 1 | -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 Kemper | 2007-12-10 | 2 | -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 Kemper | 2007-12-09 | 3 | -0/+46 |
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |