Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | revises most Lint/EndAlignment offenses | Xavier Noria | 2016-08-07 | 1 | -5/+5 |
| | | | | Some case expressions remain, need to think about those ones. | ||||
* | normalizes indentation and whitespace across the project | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | |||||
* | applies new string literal convention in activemodel/lib | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default. | ||||
* | Use Range#cover? for Date inclusion validator | ojab | 2016-03-24 | 1 | -3/+4 |
| | |||||
* | 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] |