Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove short circuit return in favor of simple conditional | Carlos Antonio da Silva | 2013-11-15 | 1 | -4/+7 |
| | |||||
* | Let validates_inclusion_of accept Time and DateTime ranges | Akira Matsuda | 2013-10-23 | 1 | -5/+11 |
| | | | | fixes 4.0.0 regression introduced in 0317b93c17a46d7663a8c36edc26ad0ba3d75f85 | ||||
* | provide a more sementicthe local variables name for ↵ | Steven Yang | 2013-06-29 | 1 | -8/+8 |
| | | | | | | | ActiveModel::Validations::Clusivity#include? method the original name `exclusion` is a bit confusing when using with the method `inclusion_method` rename it to a more logic neutral name. | ||||
* | Use Range#cover? for Numeric ranges (tests via endpoints) and use ↵ | Charles Bergeron | 2013-05-27 | 1 | -3/+4 |
| | | | | | | Range#include? for non-numeric ranges added changelog message | ||||
* | Reduce number of Strings a bit | Akira Matsuda | 2013-01-07 | 1 | -1/+1 |
| | |||||
* | remove '.rb' from require call | Nihad Abbasov | 2012-09-12 | 1 | -1/+1 |
| | |||||
* | Accept a symbol for `:in` option on inclusion and exclusion validators | Gabriel Sobrinho | 2012-08-24 | 1 | -3/+10 |
| | |||||
* | Update documentation and change the range method name to delimiter. | Rafael Mendonça França | 2012-07-20 | 1 | -5/+5 |
| | |||||
* | `validates_inclusion_of` and `validates_exclusion_of` now accept | Rafael Mendonça França | 2012-07-20 | 1 | -3/+6 |
| | | | | | | `:within` option as alias of `:in` as documented. Fix #7118 | ||||
* | add :nodoc: to internal implementations of AM::Validator [ci skip] | Francesco Rodriguez | 2012-07-06 | 1 | -1/+1 |
| | |||||
* | Remove code duplication in InclusionValidator and ExclusionValidator. | Rafael Mendonça França | 2012-03-28 | 1 | -0/+31 |
Orginal code by @jamescook Closes #1352 [Rafael Mendonça França + James Cook] |