validates_lengths_from_database 0.0.2
Introspects your database string field maximum lengths and automatically defines length validations.
Gemfile:
=
安裝:
=
Runtime 相依性套件 (1):
active_record
>= 3.0.0
Development 相依性套件 (2):
rspec
~> 2.0
sqlite3-ruby
~> 1.3.1