-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloning of HABTM
associated records
#78
Comments
same issue I have got, was this solved? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: