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.

remove unused require from association test

#5153

there are several unused model require statements in association_test.
this is simple patch for rails 3 to remove them

Reported by Subba · July 19th, 2010 @ 04:40 PM

State: resolved
Milestone: 3.x
Assigned to: José Valim José Valim
Importance: Low

Activity

  1. Subba
    Subba

    there are several tests which have unnecessary require statements. i will submit patch with all the changes.

    July 20th, 2010 @ 02:33 AM

  2. Subba
    Subba

    removing unused models from tests

    July 20th, 2010 @ 03:57 AM

  3. Neeraj Singh
    Neeraj Singh
    • State changed from new to open
    • Tag set to rails 3, tests
    • Milestone set to 3.x
    • Importance changed from to Low

    Please ensure that you apply this patch at the very end of your patches list. Otherwise a lot of patches will fail and we all will have to redo them. :-)

    July 20th, 2010 @ 02:43 PM

  4. José Valim
    José Valim

    No longer applies, rebase please?

    July 21st, 2010 @ 02:27 PM

  5. Subba
    Subba

    i am trying to test after rebase. but the arel fork for rails is breaking many tests #5173 Id and parameter in path is not properly escaped for ActiveResource.

    July 21st, 2010 @ 03:51 PM

  6. Subba
    Subba

    updating patch after rebase.
    also attach bash script that will run changed test files individually(you need to run from activerecord directory).

    July 21st, 2010 @ 06:56 PM

  7. Repository