set_as_primary 0.1.4
The simplest way to handle the primary or default flag to your models.
Gemfile:
=
install:
=
Runtime Dependencies (1):
activesupport
>= 6.1
Development Dependencies (14):
activerecord
>= 0
bundler
>= 0
byebug
>= 0
minitest
>= 0
mysql2
>= 0
pg
>= 0
railties
>= 0
rake
>= 0
rb-readline
>= 0
rubocop
>= 0
rubocop-performance
>= 0
rubocop-rails
>= 0
simplecov
>= 0
sqlite3
>= 0