aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/inclusion_validation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* `validates_inclusion_of` and `validates_exclusion_of` now acceptRafael Mendonça França2012-07-201-0/+10
* Update variable's name in the test case to reflect the class we're testingPrem Sichanugrist2011-11-181-6/+6
* Follow code conventions on some testsSebastian Martinez2011-05-101-1/+1
* No need to rescue here. Invoking the wrong method in an object can happen any...José Valim2011-04-111-9/+0
* Revert "Add :use_include option to allow user to explicitly use `Range#includ...José Valim2011-04-111-9/+0
* Add :use_include option to allow user to explicitly use `Range#include?` meth...Prem Sichanugrist2011-04-101-0/+9
* Add support for proc or lambda as an option for InclusionValidator, Exclusion...Prem Sichanugrist2011-04-101-0/+21
* Change validates inclusion to use cover? for Ranges in ruby 1.9 [#6453 state:...Frederick Cheung2011-02-181-0/+9
* removed AR from all AMo tests, including any unneeded files (schema, fixtures...Josh Kalderimis2010-05-091-2/+0
* removed an old unused model in the AMo tests which also removes another AR de...Josh Kalderimis2010-05-091-1/+0
* removed use of AR in AMo tests and removed testing of scopes (:on) in individ...Josh Kalderimis2010-05-081-11/+11
* Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax fo...Lawrence Pit2010-05-031-1/+1
* No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...José Valim2009-12-231-21/+12
* Add ActiveModel::Validations tests for regular ruby classesPratik Naik2009-03-201-0/+17
* Deprecate Error#on(attribute) in favour of Errors#[attribute]Pratik Naik2009-03-201-4/+4
* TestDatabase -> TestsDatabasePratik Naik2009-03-201-2/+2
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-0/+63