Forum: Ruby on Rails has_many -- deletion from collection won't persist

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
biot023 (Guest)
on 2005-11-16 19:24
(Received via mailing list)
Hallo -- I have a class called LinkActorToActorGroupJoin (I know...)
as a has_many attribute in a class called ActorGroup.
My understanding is that deleting from
ActorGroup#link_actor_to_actor_group_joins should remove from this
collection & persist.
I've tried direct delete on objects in the collection, which remove
the object from the collection, but this is not persisted when I
reload the collection, as the object I previously deleted is back
Can anyone help?


This topic is locked and can not be replied to.