aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/presence_validation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-10/+10
* 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
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-4/+4
* 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
* 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
* Work around the fact the JSON gem was overwriting to_json implementation for ...José Valim2010-06-261-1/+1
* 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-6/+6
* Accept array of attributes as arg also, like 2.3Jeremy Kemper2010-02-251-10/+16
* No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...José Valim2009-12-231-28/+26
* Fix failing AMo isolated testsJoshua Peek2009-09-051-0/+1
* Allow validations to use values from custom readers [#2936 state:resolved]James Hill2009-08-051-0/+14
* Simplify AMo validation attribute readerJoshua Peek2009-06-171-9/+9
* Add ActiveModel::Validations tests for regular ruby classesPratik Naik2009-03-201-0/+16
* TestDatabase -> TestsDatabasePratik Naik2009-03-201-2/+2
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-0/+41