This project is archived and is in readonly mode.

Changeset [0e0df4b0c5df7fdd1daa5653c255c4737f5526fc] by David Chelimsky

June 23rd, 2010 @ 02:07 PM

In ActionView::TestCase::Behavior, assign variables right before
rendering the view.

  • Previously, assigns were locked down the first time view was referenced.

[#4931 state:resolved]

Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/0e0df4b0c5df7fdd1daa5653c255c4...

Committed by David Chelimsky

  • M actionpack/lib/action_view/base.rb
  • M actionpack/lib/action_view/test_case.rb
  • M actionpack/test/template/test_case_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>