normatron 0.2.1
Normatron is an Ruby On Rails plugin that perform attribute normalizations for ActiveRecord objects. With it you can normalize 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