#794 ✓resolved

many_to_many loads wrong assocation on delete

Reported by kristian | February 2nd, 2009 @ 01:08 PM

when deleting an element from a many_to_many associocation works in one direction

@@@ book.editors.delete(editor) @@@

but not in the other directions (assume the same objects are involved)

@@@ editor.books.delete(book) @@@

when getting the near_association the "direction" is not taken into account when creating the composed primary key for that near_association.

attach find a patch which could solves the problem as well some specs for it

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

People watching this ticket