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

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2837408ba0375c40b235f0a5a5107d37?d=identicon&s=25 biot023 (Guest)
on 2005-11-16 18: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
again!
Can anyone help?

--

   doug.
This topic is locked and can not be replied to.