normatron 0.2.0
Normatron is an attribute normalizer for ActiveRecord objects. With it you can convert attributes to the desired format before saving them in the database. This gem inhibits the work of having to override attributes or create a specific method to perform most of the normalizations.
Gemfile:
=
复制到剪贴板
已复制!
安装:
=
Runtime 依赖 (2):
activerecord
>= 3.2.0
activesupport
>= 3.2.0