You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a case when the main record (A) has many records of the first type (B) and the second (C) B associated with C with has_many through. But it's not necessary that C has any of B and vice versa.
I tried different ways to setup amoeba in the models, but I didn't get what I need:
Clone A with associated B and C. And, which is important, new C object should be associated with new B object. I got new C object associated with the old B object
How should I setup amoeba in my models to get the whole A object cloned to new one without any association with the previous (cloned) object?
The text was updated successfully, but these errors were encountered:
I have a case when the main record (A) has many records of the first type (B) and the second (C)
B associated with C with
has_many through
. But it's not necessary that C has any of B and vice versa.I tried different ways to setup amoeba in the models, but I didn't get what I need:
Clone A with associated B and C. And, which is important, new C object should be associated with new B object. I got new C object associated with the old B object
How should I setup
amoeba
in my models to get the whole A object cloned to new one without any association with the previous (cloned) object?The text was updated successfully, but these errors were encountered: