diff options
author | Matt Rohrer <matt@prognostikos.com> | 2017-09-21 15:39:49 +0200 |
---|---|---|
committer | Matt Rohrer <matt@prognostikos.com> | 2017-10-26 10:01:06 +0200 |
commit | b8b089ef11300fab4625011b942ee4a1fbbdbbbd (patch) | |
tree | 2e7aae2d26e56036acced292301ff7fd8326b9b6 /activemodel/lib/active_model/validations/format.rb | |
parent | 8cd143900978902ed9bbba10b34099a3140de5c6 (diff) | |
download | rails-b8b089ef11300fab4625011b942ee4a1fbbdbbbd.tar.gz rails-b8b089ef11300fab4625011b942ee4a1fbbdbbbd.tar.bz2 rails-b8b089ef11300fab4625011b942ee4a1fbbdbbbd.zip |
Allow passing a Proc or Symbol as an argument to length validator values
This brings the Length validator in line with the Numericality
validator, which currently supports Proc & Symbol arguments
Diffstat (limited to 'activemodel/lib/active_model/validations/format.rb')
0 files changed, 0 insertions, 0 deletions