aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations_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
* Assert deprecationlulalala2019-03-311-6/+6
* Raise deprecation for calling `[:f] = 'b'` or `[:f] << 'b'`lulalala2019-03-311-1/+1
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-2/+2
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-28/+28
* 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
* improve error message when include assertions failMichael Grosser2016-09-161-6/+6
* Add three new rubocop rulesRafael Mendonça França2016-08-161-5/+5
* applies new string literal convention in activemodel/testXavier Noria2016-08-061-21/+21
* Add test case for interpolation with passing of data along with record attrib...Vipul A M2016-04-051-0/+8
* Allow passing record being validated to error message generatorPrathamesh Sonpatki2016-04-051-0/+8
* Move the `validate!` method to `ActiveModel::Validations`.Lucas Mazza2015-02-201-0/+19
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-031-1/+0
* - Fixed unused variableVipul A M2014-12-211-3/+2
* Pass through the `prepend` option to `AS::Callback`Godfrey Chan2014-12-121-1/+37
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* Added test for exception message for validate methodPrathamesh Sonpatki2014-09-231-1/+3
* [ci skip] make assert messages consistentankit19102014-08-251-2/+2
* Merge pull request #15959 from aditya-kapoor/remove-unneeded-casesRafael Mendonça França2014-07-291-13/+17
|\
| * remove unneeded test model for ActiveModel test cases.Aditya Kapoor2014-06-281-13/+17
* | Merge pull request #16210 from sonnym/assert_valid_keys_in_validateMatthew Draper2014-07-181-0/+7
|\ \ | |/ |/|
| * check for valid options in validate methodsonnym2014-07-171-0/+6
|/
* remove depricated Validatior#setupKuldeep Aggarwal2014-06-101-21/+0
* ActiveRecord/ActiveModel '#validate' alias for 'valid?'Henrik Nyh2014-03-271-0/+9
* Completely remove potential global state leaks in ActiveModel tests.Zuhao Wan2014-03-111-0/+2
* Fix some validators when used on model instanceEric Hutzelman2014-02-261-1/+2
* Use the new clear_validators! api to reset validators in testsCarlos Antonio da Silva2014-01-271-8/+1
* deprecate Validator#setup (to get rid of a respond_to call). validators do th...Nick Sutterer2013-05-231-0/+21
* callbacks are wrapped with lambdasAaron Patterson2013-05-101-1/+1
* Convert ActiveModel to 1.9 hash syntax.Patrick Robertson2013-05-011-23/+23
* fix some typos found in activemodelVipul A M2013-03-181-2/+2
* Small typos here and there.Vipul A M2013-03-151-2/+2
* Revert "Merge pull request #7826 from sikachu/master-validators-kind"Rafael Mendonça França2012-10-021-8/+0
* Make `.validators_on` accept `:kind` optionPrem Sichanugrist2012-10-021-0/+8
* AM::Validation#validates: ability to pass custom exception to `:strict` optionBogdan Gusiev2012-08-061-0/+9
* Don't enable validations when passing false hash values to ActiveModel.validatesSteve Purcell2012-05-281-0/+5
* Kill whitespaces :scissors:Carlos Antonio da Silva2012-05-151-1/+1
* clean the erros if an object that includes validations errors is duped. Fixes...Angelo Capilleri2012-05-131-0/+15
* replacing ordered hash to ruby hashprasath2012-02-081-1/+1
* Generate strict validation error messages with attribute nameCarlos Antonio da Silva2012-02-011-3/+12
* Removed unwanted intializer and replaced with ruby default collect methodprasath2012-01-271-2/+1
* validates method should not change options argumentdreamfall2012-01-171-0/+6
* Implemented strict validation conceptBogdan Gusiev2011-08-171-0/+33
* :if should not fire on validations when not in context with :onAditya Sanghi2011-04-291-0/+14
* Find all validators for multiple attributesCarl Lerche2011-02-051-0/+18
* Tests and docs which explain the use of validate with a block and without arg...Santiago Pastorino2010-12-191-1/+9
* ActiveModel::Errors.to_hash returns plain OrderedHash and used in to_json ser...Thilo Utke2010-12-011-2/+2