human_enum 0.1.1
This gem allows you to specify enum value translations like any other ActiveRecord attrubute and adds helper methods to get humanized translations of enum values
Gemfile:
=
复制到剪贴板
已复制!
安装:
=
Runtime 依赖 (1):
activerecord
> 5.0.0