Version 0.4.0
New Features
Added HasAndBelongsToMany Association support
You can now add has_and_belongs_to_many
associations to your seedie.yml file:
has_and_belongs_to_many:
posts:
count: 5
attributes:
title: "{{Faker::Lorem.sentence}}"
body: "{{Faker::Lorem.paragraph}}"
Added the ability to generate nested BelongsTo Associations
Before, Models had no ability to add assocations to the child_model.
parent_model:
attributes:
some_attribute: 'hello'
associations:
has_many:
child_model: 2
Now you can add associations to the child_model:
parent_model:
attributes:
some_attribute: 'hello'
associations:
has_many:
child_model:
attributes:
title: 'some title'
associations:
belongs_to:
another_parent_model: 'random'
Enhancements
Complete Rubocop Integration with CI
- Rubocop Integration by @giovannism20
- Rubocop cleanups:
Added Zeitwerk Support
Added Rails 7.1 Support
New Contributors
- @giovannism20 made their first contribution in #33
Full Changelog: 0.3.0...0.4.0