diff --git a/README.md b/README.md index 3331bf6..836ef78 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,10 @@ EvilSeed.configure do |config| # # Association path is a dot-delimited string of association chain starting from model itself: # example: "forum.users.questions" - root.exclude(/\btracking_pixels\b/, 'forum.popular_questions') + root.exclude(/\btracking_pixels\b/, 'forum.popular_questions', /\Aforum\.parent\b/) + + # Include back only certain associations + root.include(/\Aforum(\.parent(\.questions(\.answers)?)?)?\z/) # It's possible to limit the number of included into dump has_many and has_one records for every association # Note that belongs_to records for all not excluded associations are always dumped to keep referential integrity.