-
Notifications
You must be signed in to change notification settings - Fork 20
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
Recursive execution? #21
Comments
AFAIR I made it to be able to dump tree-like structures stored in HABTM. So you can choose parent records and get all their descendants. |
@Envek right, but it might make sense to put things into a queue and then run that...? It's holding open a lot of resources, I think, when it goes into deeply nested stuff. |
Maybe there's something else going on... it seems to keep picking up the same models via various associations. I'm dumping the associaton path and get stuff like
|
Hey, just a heads up that there is a new option EvilSeed.configure do |config|
config.root('Forum', featured: true) do |root|
# Limit the depth of associations to be dumped from the root level
# All traverses through has_many, belongs_to, etc are counted
# So forum.subforums.subforums.questions.answers will be 5 levels deep
root.limit_deep(10)
end
end |
From
RelationDumper
- to me it seems like this is recursive, which might cause some resource issues in a larger DB with a lot of relationships.The text was updated successfully, but these errors were encountered: