set_as_primary 0.1.1
The simplest way to handle the primary or default flag to your models.
Gemfile:
=
複製
已複製
安裝:
=
Runtime 相依性套件 (1):
activesupport
>= 4.2
Development 相依性套件 (10):
activerecord
>= 0
bundler
>= 0
byebug
>= 0
minitest
>= 0
mysql2
>= 0
pg
>= 0
railties
>= 0
rake
>= 0
rb-readline
>= 0
sqlite3
>= 0