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

Add support for Mongoid #143

Open
kylejw2 opened this issue Jul 13, 2022 · 1 comment
Open

Add support for Mongoid #143

kylejw2 opened this issue Jul 13, 2022 · 1 comment

Comments

@kylejw2
Copy link

kylejw2 commented Jul 13, 2022

Mongoid works very similar to ActiveRecord. I have an application with relationships between ActiveRecord models and Mongoid models. When an ActiveRecord model (with Mongoid models belonging to it) is cloned, I'd like to have the Mongoid models cloned as well.

@moiristo
Copy link
Owner

I've never used Mongoid myself, but the reflection on associations is probably a lot different? As I don't have any experience with it I won't be adding this, but PR's are welcome :) You could use the pre/postprocessor or block option to include these associations for now.

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

2 participants