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.

[PATCH] Fix ActiveRecord test failing in CI under postgres

#3542

This patch fixes a test in has_many_associations_test.rb under postgresql. It should apply cleanly to 2-3-stable and master.

Reported by John Pignata · December 5th, 2009 @ 05:01 PM

State: committed
Milestone: none
Assigned to: Jeremy Kemper Jeremy Kemper
Importance: none

Activity

  1. John Pignata
    John Pignata
    • Assigned user set to Jeremy Kemper

    Hey - the builds are still bright red and I think this patch will fix it. Let me know if I can do anything else to get this applied.

    December 11th, 2009 @ 06:46 PM

  2. Repository
    Repository
    • State changed from new to committed

    (from [1d9468b44e29e50170a5babd24c0fb67b040792f]) Fix postgresql AR test failure

    Due to the ordering of the returning result set, the test fails under the postgresql adapter. Order results by id prior to checking the first item

    [#3542 state:committed]

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

    December 11th, 2009 @ 09:30 PM

  3. Repository
    Repository

    (from [96deabace71d5cb3ee12c7b99e459db5e2acb1a6]) Fix postgresql AR test failure

    Due to the ordering of the returning result set, the test fails under the postgresql adapter. Order results by id prior to checking the first item

    [#3542 state:committed]

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

    December 11th, 2009 @ 09:30 PM