Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [72f93b581f1d1a7496ccebbd90578714c171c5a5] by Jeremy Kemper

Revision 72f93b581f1d1a7496ccebbd90578714c171c5a5, committed by Repository · 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...

14 changed files

  • 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