aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/validates_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Revert "No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29f"Rafael Mendonça França2019-08-021-1/+1
* No such class since 8d2866bb80fbe81acb04f5b0c44f152f571fb29fAkira Matsuda2019-08-021-1/+1
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-1/+1
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-11/+11
* Add cases to test combining validation conditionsbogdanvlviv2017-11-061-3/+9
* Use frozen string literal in activemodel/Kir Shatrov2017-07-161-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* modernizes hash syntax in activemodelXavier Noria2016-08-061-1/+1
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-24/+24
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-031-1/+0
* Remove redundant require of fileAdam892014-11-011-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-18/+18
* convert comments to 1.9 hash syntaxAvnerCohen2012-10-221-1/+1
* confirmation validation error attributeBrian Cardarella2012-04-231-1/+1
* 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
* Provide a way to specify alternate option keys for validatesCarl Lerche2011-02-051-0/+11
* Do not require that validation attributes be specified as symbolsCarl Lerche2011-02-051-0/+11
* Add support for namespaced validatorsSamuel Kadolph2010-12-161-0/+8
* Better shortcut options for custom validators [#5672 state:resolved]Obie Fernandez2010-09-241-0/+9
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-4/+4
* Make use of assert_equal to test equallity between object assert expects and ...Santiago Pastorino2010-05-161-2/+2
* Fix typo by renaming :genre to :gender.José Valim2010-01-091-6/+6
* Allow validates to map some types to specific options. So now you can do:José Valim2010-01-081-11/+37
* Allow :if, :unless, :on, :allow_nil and :allow_blank as shared options in val...José Valim2010-01-071-3/+38
* Add validates method as shortcut to setup validators for a given set of attri...jamie2010-01-071-0/+53