diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2015-07-01 16:20:07 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2015-07-01 16:20:07 +0200 |
commit | bc71e43252c49e990dbe22ee0cb3c017a6026d04 (patch) | |
tree | bef509cc4069b5452f92dffe1db29a9652296485 /activemodel/lib/active_model/lint.rb | |
parent | 1099e54b497ec3ec08d8913f8a899681719a0e4b (diff) | |
download | rails-bc71e43252c49e990dbe22ee0cb3c017a6026d04.tar.gz rails-bc71e43252c49e990dbe22ee0cb3c017a6026d04.tar.bz2 rails-bc71e43252c49e990dbe22ee0cb3c017a6026d04.zip |
Separate the constraint and other options [ci skip]
Only one constraint option can be used at a time (except for the minimum
and maximum ones that can eventually be combined). However, other
options can be used with them (e.g. the validation failure message).
So let's make the distinction between these two different options
categories.
[Yves Senn, Matthew Draper & Robin Dupret]
Diffstat (limited to 'activemodel/lib/active_model/lint.rb')
0 files changed, 0 insertions, 0 deletions