aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations/with_validation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove deprecated `:if` and `:unless` string filter for callbacksRafael Mendonça França2017-10-231-38/+2
* 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
* improve error message when include assertions failMichael Grosser2016-09-161-6/+6
* Add three new rubocop rulesRafael Mendonça França2016-08-161-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
* Deprecate passing string to define callback.yui-knk2015-12-161-0/+1
* Use private method call assertions in Active Model tests.Kasper Timm Hansen2015-07-101-1/+1
* Remove use of mocha from Active ModelRoque Pinel2015-05-281-3/+5
* 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-2/+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-011-18/+18
* fix some typos found in activemodelVipul A M2013-03-181-1/+1
* Raise ArgumentError when no attribute is given to AMo::EachValidatorCarlos Antonio da Silva2012-11-041-1/+1
* Optionally pass in the attribute being validated to an instance method validatorCarl Lerche2011-02-051-0/+9
* Be able to pass a validator method to #validatesCarl Lerche2011-02-051-0/+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-23/+10
* Add validators reflection so you can do 'Person.validators' and 'Person.valid...Prem Sichanugrist2010-02-211-0/+1
* Add validates method as shortcut to setup validators for a given set of attri...jamie2010-01-071-0/+22
* Add missing tests to Validators.José Valim2010-01-031-0/+47
* No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...José Valim2009-12-231-2/+3
* Move validations in ActiveModel to validators, however all validatity checks ...José Valim2009-12-231-2/+2
* Validator is simply sent to validate method. However, the API needs to change...José Valim2009-12-221-6/+6
* Move validator, human_name and human_attribute_name to ActiveModel, remove de...José Valim2009-10-201-4/+4
* Fix failing AMo isolated testsJoshua Peek2009-09-051-0/+2
* Introduce validates_with to encapsulate attribute validations in a class.Jeff Dean2009-08-091-0/+116