Skip to content
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

include_association also including other association, Which are not supposed to be included #114

Open
usmanasif opened this issue Oct 10, 2022 · 0 comments

Comments

@usmanasif
Copy link

Hi, I am using include_association to just include those associations. But other associations with that model also getting include. when creating duplicate = object.amoeba_dup its also dup all other association.
My code :
image

Here i just include these [:mastermind_modules, :kanban_boards,:sessions, :team, :mastermind_categories, :mastermind_experts] but seller_coupons (associated model) also getting associated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant