power_enum 4.0.0
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