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.

Accept a prefix argument to filter_backtrace_with_cleaning.

#1456

Test/unit's filter_backtrace method accepts two parameters, however the Rails version does not. This leads to exceptions in test/spec and probably other test frameworks.

Attached is a patch to fix this.

Reported by Manfred Stienstra · November 24th, 2008 @ 10:33 AM

State: committed
Milestone: 2.x
Assigned to: DHH DHH
Importance: none

Activity

  1. Repository
    Repository
    • State changed from new to committed

    (from [1f48c09094610cbf26ec1e93d9bf978b2ae86fa8]) Accept a prefix argument to filter_backtrace_with_cleaning [#1456 Accept a prefix argument to filter_backtrace_with_cleaning. state:committed]

    Add a prefix argument to filter_backtrace_with_cleaning so it has the same arity as test/unit's filter_backtrace.

    Signed-off-by: David Heinemeier Hansson david@loudthinking.com http://github.com/rails/rails/co...

    November 24th, 2008 @ 10:36 AM