set_as_primary 0.1.2
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