aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_view/template_handlers/erb.rb
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'mainstream/master'Pratik Naik2008-12-071-39/+0
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: actionmailer/lib/action_mailer/base.rb actionpack/lib/action_controller/base.rb actionpack/lib/action_controller/mime_type.rb railties/doc/guides/html/activerecord_validations_callbacks.html railties/doc/guides/html/caching_with_rails.html railties/doc/guides/html/command_line.html railties/doc/guides/html/configuring.html railties/doc/guides/html/creating_plugins.html railties/doc/guides/html/finders.html railties/doc/guides/html/routing_outside_in.html railties/doc/guides/source/activerecord_validations_callbacks.txt railties/doc/guides/source/caching_with_rails.txt railties/doc/guides/source/command_line.txt railties/doc/guides/source/creating_plugins/acts_as_yaffle.txt railties/doc/guides/source/creating_plugins/controllers.txt railties/doc/guides/source/creating_plugins/core_ext.txt railties/doc/guides/source/creating_plugins/helpers.txt railties/doc/guides/source/creating_plugins/index.txt railties/doc/guides/source/creating_plugins/migration_generator.txt railties/doc/guides/source/creating_plugins/models.txt railties/doc/guides/source/creating_plugins/odds_and_ends.txt railties/doc/guides/source/creating_plugins/routes.txt railties/doc/guides/source/finders.txt railties/doc/guides/source/routing_outside_in.txt railties/doc/guides/source/testing_rails_applications.txt
| * use autoload instead of explicit requires for ActionViewJoshua Peek2008-11-231-39/+0
| |
* | Fix markup for cattr_accessors in Action View and Action Mailer to work ↵Mike Gunderloy2008-11-161-0/+2
|/ | | | better with RDoc 2+.
* Ruby 1.9: Strip encoding from ERB source since you can not change character ↵Joshua Peek2008-07-191-2/+5
| | | | encoding during a method
* Get buffer for fragment cache from template's @output_bufferJoshua Peek2008-07-151-6/+0
|
* Improve readabilityJeremy Kemper2008-06-241-1/+3
|
* Check whether blocks are called from erb using a special __in_erb_template ↵Jeremy Kemper2008-06-191-1/+2
| | | | 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.
* Work with @output_buffer instead of _erboutJeremy Kemper2008-06-021-1/+1
|
* Try replacing _erbout with @output_bufferJeremy Kemper2008-06-021-4/+2
|
* Pass template object to Handler#compilePratik Naik2008-04-241-1/+1
|
* 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 template compilation from AV::Base into the template handlers. ↵Michael Koziarski2008-01-221-4/+2
| | | | | | 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-111-0/+4
| | | | | | | | * 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-101-0/+6
| | | | | | #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
* Refactor Action View template handlers. Closes #10437.Jeremy Kemper2007-12-091-0/+21
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8341 5ecf4fe2-1ee6-0310-87b1-e25e094e27de