mechanicles/set_as_primary

View on GitHub
CHANGELOG.md

Summary

Maintainability
Test Coverage
## 0.1.4 (2023-08-09)
- Dropped support for Ruby < 3 and Rails < 6.1
- Add support for Rails 7

## 0.1.3 (2019-02-02)
- Fixed index_on issue.

## 0.1.2 (2019-02-02)
- Supported unique partial index.
- Changed generator definition. Now it also accepts `flag_name`, `owner_key`.
- Handled `force_primary` in `after_create` callback.
- Refactored the code.
## 0.1.1 (2019-12-29)

- Added support for single model with no association.
- Fixed polymorphic association issue as it was not working properly.