aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/conditional_validation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Add cases to test combining validation conditionsbogdanvlviv2017-11-061-2/+47
* Remove deprecated `:if` and `:unless` string filter for callbacksRafael Mendonça França2017-10-231-66/+0
* 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
* Deprecate passing string to `:if` and `:unless` conditional options on `set_c...Ryuta Kamizono2017-02-041-5/+15
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-1/+1
* Add three new rubocop rulesRafael Mendonça França2016-08-161-2/+2
* applies remaining conventions across the projectXavier Noria2016-08-061-1/+0
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-2/+2
* 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-1/+1
* use assert_empty in activemodel conditional validation test casesRajarshi Das2013-09-101-7/+7
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-17/+17
* Follow code conventions on some testsSebastian Martinez2011-05-101-12/+12
* 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-21/+21
* Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax fo...Lawrence Pit2010-05-031-12/+12
* No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...José Valim2009-12-231-2/+3
* Deprecate Errors#on_base/add_to_base/invalid?/each_fullPratik Naik2009-03-211-3/+3
* TestDatabase -> TestsDatabasePratik Naik2009-03-201-2/+2
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-0/+140