aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/models/topic.rb
Commit message (Collapse)AuthorAgeFilesLines
* Let validates_inclusion_of accept Time and DateTime rangesAkira Matsuda2013-10-231-1/+1
| | | | fixes 4.0.0 regression introduced in 0317b93c17a46d7663a8c36edc26ad0ba3d75f85
* Optionally pass in the attribute being validated to an instance method validatorCarl Lerche2011-02-051-0/+4
|
* Be able to pass a validator method to #validatesCarl Lerche2011-02-051-0/+4
|
* Provide a way to specify alternate option keys for validatesCarl Lerche2011-02-051-0/+4
|
* after_validation should be called irrespective of the result of validation.Neeraj Singh2010-08-201-0/+9
| | | | | | | | I confirmed that this is the behavior on 2.3.x . [5419 state:resolved] Signed-off-by: José Valim <jose.valim@gmail.com>
* removed use of AR in AMo tests and removed testing of scopes (:on) in ↵Josh Kalderimis2010-05-081-1/+11
| | | | individual validation tests and moved them to their own test file
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-0/+9