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 [5e3517ea7b9fbd460f772bffc9212d882011f2bc] by Pratik Naik

Revision 5e3517ea7b9fbd460f772bffc9212d882011f2bc, committed by Pratik Naik · October 4th, 2008 @ 06:43 PM

Ensure rescue_from handlers are respected inside tests. [#835 state:resolved]

Note : If you're not using rescue_from, you should overrider rescue_action_without_handler() method and not rescue_action(). Afterwards, you can set request.remote_addr to a non "0.0.0.0" value for testing the overridden behavior. http://github.com/rails/rails/co...

3 changed files

  • M actionpack/lib/action_controller/rescue.rb
  • M actionpack/lib/action_controller/test_case.rb
  • M actionpack/test/controller/rescue_test.rb