validates_lengths_from_database 0.8.0
Introspects your database string field maximum lengths and automatically defines length validations.
Gemfile:
=
instalar:
=
dependencias de Runtime (1):
activerecord
>= 4