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 [940b57789fb9166658974c591e68d22ecab29f34] by José Valim

Revision 940b57789fb9166658974c591e68d22ecab29f34, committed by José Valim · October 10th, 2010 @ 11:43 AM

Add support to render :once.

This will be used internally by sprockets to ensure requires are executed just once.
http://github.com/rails/rails/commit/940b57789fb9166658974c591e68d2...

6 changed files

  • A actionpack/test/controller/new_base/render_once_test.rb
  • M actionpack/lib/abstract_controller/rendering.rb
  • M actionpack/lib/action_view/render/rendering.rb
  • M actionpack/lib/action_view/renderer/abstract_renderer.rb
  • M actionpack/lib/action_view/renderer/partial_renderer.rb
  • M actionpack/lib/action_view/renderer/template_renderer.rb