dynamic_attribute_declaration 0.0.10
This gem lets you dynamically declare validations, that can function as partly applied validation, based on some kind of model instance state.
Gemfile:
=
复制到剪贴板
已复制!
安装:
=
Runtime 依赖 (2):
activerecord
~> 4.0
activesupport
~> 4.0