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 [14b6ab0f013f01541fca9fd42b33da96313e0a2e] by Hongli Lai (Phusion)

Revision 14b6ab0f013f01541fca9fd42b33da96313e0a2e, committed by Hongli Lai (Phusion) · August 16th, 2009 @ 02:00 AM

Fix reloading of metal pieces. - Do not hold references to old metal objects after metal classes have been reloaded. - Obtain the reloader lock before building the middleware stack, so that reloading of metal pieces works in the face of multithreading.

[#2873 state:committed]

Signed-off-by: Jeremy Kemper jeremy@bitsweat.net http://github.com/rails/rails/co...

5 changed files

  • M actionpack/lib/action_controller/dispatcher.rb
  • M actionpack/lib/action_controller/reloader.rb
  • M actionpack/test/abstract_unit.rb
  • M actionpack/test/controller/dispatcher_test.rb
  • M actionpack/test/controller/reloader_test.rb