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

Cloning breaks include list #85

Open
lysenkooo opened this issue Aug 15, 2019 · 0 comments
Open

Cloning breaks include list #85

lysenkooo opened this issue Aug 15, 2019 · 0 comments

Comments

@lysenkooo
Copy link

When I clone 'has_many' associations, gem tries to exclude it because he thinks it's through associations. It looks like bug in condition here https://github.com/amoeba-rb/amoeba/blob/master/lib/amoeba/cloner.rb#L68. It should return if it's not through association, but it doesn't and run exclude method. It breaks my includes list.

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