aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations
Commit message (Expand)AuthorAgeFilesLines
* `only_integer` of `NumericalityValidator` now allows procs and symbolsRobin Mehner2014-06-221-0/+15
* Correct typo, add test for validates_absence_of, correct method namesAkshay Vishnoi2014-06-161-3/+4
* Add singular and plural form for some validation messagesAbd ar-Rahman Hamidi2014-05-021-3/+15
* Completely remove potential global state leaks in ActiveModel tests.Zuhao Wan2014-03-112-9/+11
* Run ActiveModel test suites in random order.Zuhao Wan2014-03-102-6/+10
* use the new clear_validators! api everywhere to reset validators in testsKuldeep Aggarwal2014-01-281-1/+1
* Use the new clear_validators! api to reset validators in testsCarlos Antonio da Silva2014-01-2715-34/+32
* Merge tests about multiple validation contextsCarlos Antonio da Silva2014-01-271-10/+6
* Ability to specify multiple contexts when defining a validation.Vince Puzzella2014-01-271-0/+16
* Let validates_inclusion_of accept Time and DateTime rangesAkira Matsuda2013-10-231-0/+22
* use assert_empty in activemodel conditional validation test casesRajarshi Das2013-09-101-7/+7
* Use Range#cover? for Numeric ranges (tests via endpoints) and use Range#inclu...Charles Bergeron2013-05-271-0/+1
* deprecate Validator#setup (to get rid of a respond_to call). validators do th...Nick Sutterer2013-05-231-23/+1
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-0112-202/+201
* Merge pull request #10286 from neerajdotname/fix-wrong-test-name-and-failure-...Carlos Antonio da Silva2013-04-211-2/+2
|\
| * fix wrong test description and failure messageNeeraj Singh2013-04-211-2/+2
* | Added tests for if condition in Active Model callbacksNeeraj Singh2013-04-211-0/+21
|/
* fix some typos found in activemodelVipul A M2013-03-181-1/+1
* `validates_confirmation_of` does not override writer methods.Yves Senn2013-03-041-0/+31
* Take care of whitespaces and changing the hash syntaxRafael Mendonça França2013-02-041-57/+56
* test for issue 8931David2013-02-021-0/+8
* Add CHANGELOG entry for #8622Rafael Mendonça França2012-12-261-2/+2
* Revert the change at ActiveModel::Errors#add_on_blank and fix in theRafael Mendonça França2012-12-261-5/+5
* Tests and fix for validates_presence of :allow_nil, :allow_blankColin Kelley2012-12-261-0/+34
* Add `ActiveModel::Validations::AbsenceValidator`, a validator to check the a...Roberto Vasquez Angel2012-12-151-0/+67
* Length validation handles correctly nil. Fix #7180Michal Zima2012-11-261-0/+39
* use Array() instead flattenVasiliy Ermolovich2012-11-051-20/+0
* Raise ArgumentError when no attribute is given to AMo::EachValidatorCarlos Antonio da Silva2012-11-041-1/+1
* convert comments to 1.9 hash syntaxAvnerCohen2012-10-222-13/+13
* Fix method redefined warnings.kennyj2012-08-292-0/+6
* Accept a symbol for `:in` option on inclusion and exclusion validatorsGabriel Sobrinho2012-08-242-0/+44
* fix typo in callbacks testAccessd2012-07-241-2/+2
* Don't pass `:within` option to the i18nRafael Mendonça França2012-07-201-0/+22
* `validates_inclusion_of` and `validates_exclusion_of` now acceptRafael Mendonça França2012-07-202-0/+20
* prevent users from unknowingly using bad regexps that can compromise security...MrBrdo2012-06-142-6/+16
* Support i18n attributes for confirmationBrian Cardarella2012-04-242-2/+21
* confirmation validation error attributeBrian Cardarella2012-04-234-9/+14
* To infinity… and beyond!Niels Ganser2012-02-061-0/+18
* Removing unwanted method and adding to accessor for getter historyprasath2012-01-251-4/+3
* added :other_than => :!= option to numericality validatorJakub Kuźma2011-12-211-0/+7
* Remove dead code from AMo.José Valim2011-12-201-47/+37
* Fixed test "ArgumentError: wrong number of arguments(1 for 0)"Arun Agrawal2011-12-171-1/+1
* Fixed bug when error message is an empty string.Antonio Roberto2011-12-161-0/+6
* Update variable's name in the test case to reflect the class we're testingPrem Sichanugrist2011-11-183-24/+24
* Follow code conventions on some testsSebastian Martinez2011-05-104-29/+29
* No need to rescue here. Invoking the wrong method in an object can happen any...José Valim2011-04-113-34/+0
* Revert "Add :use_include option to allow user to explicitly use `Range#includ...José Valim2011-04-112-19/+0
* Add :use_include option to allow user to explicitly use `Range#include?` meth...Prem Sichanugrist2011-04-102-0/+19
* Add support for proc or lambda as an option for InclusionValidator, Exclusion...Prem Sichanugrist2011-04-103-0/+82
* Refactor length validationSantiago Pastorino2011-03-121-3/+3