power_enum 4.0.1
Power Enum allows you to treat instances of your ActiveRecord models as though they were an enumeration of values. It allows you to cleanly solve many of the problems that the traditional Rails alternatives handle poorly if at all. It is particularly suitable for scenarios where your Rails application is not the only user of the database, such as when it's used for analytics or reporting.
Gemfile:
=
安装:
=
Runtime 依赖 (2):
activerecord
>= 6.0, < 8
railties
>= 6.0, < 8