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.

Return value of delete method of object involved in HABTM assoc is wrong

#5523

Seems like a trivial fix. Patch attached.

Reported by Evgeniy Dolzhenko · September 1st, 2010 @ 05:19 PM

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

Activity

  1. Neeraj Singh
    Neeraj Singh
    • Milestone set to 3.x
    • State changed from new to open
    • Assigned user set to José Valim
    • Tag changed from patch activerecord, associations, has_and_belongs_to_many to patch activerecord, associations, has_and_belongs_to_many, patch
    • Importance changed from to Low

    +1 patch works.

    Attached is failing test.

    September 1st, 2010 @ 09:34 PM

  2. Andrea Campi
    Andrea Campi
    • Tag changed from patch activerecord, associations, has_and_belongs_to_many, patch to activerecord, associations, has_and_belongs_to_many, patch

    bulk tags cleanup

    October 11th, 2010 @ 07:18 AM

  3. José Valim
    José Valim

    Evgeniy Dolzhenko, could you please provide a patch using git format-patch?

    Neeraj, could you please rebase the test? It does not apply on master.

    October 11th, 2010 @ 11:45 PM

  4. Evgeniy Dolzhenko
  5. Jeff Kreeftmeijer
    Jeff Kreeftmeijer
    • State changed from open to resolved

    Marking this one as resolved. It it's still an issue, let me know and I'll reopen it. :)

    October 13th, 2010 @ 07:04 AM