This project is archived and is in readonly mode.

Changeset [72f93b581f1d1a7496ccebbd90578714c171c5a5] by Jeremy Kemper

June 20th, 2008 @ 06:21 AM

Check whether blocks are called from erb using a special __in_erb_template variable visible in block binding.

http://github.com/rails/rails/co...

Committed by Repository

  • M actionpack/lib/action_view/helpers/capture_helper.rb
  • M actionpack/lib/action_view/helpers/form_tag_helper.rb
  • M actionpack/lib/action_view/helpers/tag_helper.rb
  • M actionpack/lib/action_view/helpers/text_helper.rb
  • M actionpack/lib/action_view/template_handlers/compilable.rb
  • M actionpack/lib/action_view/template_handlers/erb.rb
  • M actionpack/test/fixtures/test/non_erb_block_content_for.builder
  • M actionpack/test/template/form_tag_helper_test.rb
  • M actionpack/test/template/javascript_helper_test.rb
  • M actionpack/test/template/prototype_helper_test.rb
  • M actionpack/test/template/record_tag_helper_test.rb
  • M actionpack/test/template/tag_helper_test.rb
  • M actionpack/test/template/text_helper_test.rb
  • M actionpack/test/template/url_helper_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>