aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/exclusion_validation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-031-1/+0
* Use the new clear_validators! api to reset validators in testsCarlos Antonio da Silva2014-01-271-3/+3
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-6/+6
* Fix method redefined warnings.kennyj2012-08-291-0/+3
* Accept a symbol for `:in` option on inclusion and exclusion validatorsGabriel Sobrinho2012-08-241-0/+22
* `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
* 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-10/+0
* Add :use_include option to allow user to explicitly use `Range#include?` meth...Prem Sichanugrist2011-04-101-0/+10
* Add support for proc or lambda as an option for InclusionValidator, Exclusion...Prem Sichanugrist2011-04-101-0/+21
* removed AR from all AMo tests, including any unneeded files (schema, fixtures...Josh Kalderimis2010-05-091-2/+0
* removed use of AR in AMo tests and removed testing of scopes (:on) in individ...Josh Kalderimis2010-05-081-5/+5
* 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-11/+12
* Add ActiveModel::Validations tests for regular ruby classesPratik Naik2009-03-201-0/+16
* Deprecate Error#on(attribute) in favour of Errors#[attribute]Pratik Naik2009-03-201-2/+2
* TestDatabase -> TestsDatabasePratik Naik2009-03-201-2/+2
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-0/+30