aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Remove deprecations in ActiveModel.José Valim2010-08-291-36/+0
* after_validation should be called irrespective of the result of validation.Neeraj Singh2010-08-201-0/+2
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-1/+1
* ActiveModel::Errors json serialization to work as Rails 3b4 [#5254 state:reso...Alex Le2010-08-021-3/+5
* Work around the fact the JSON gem was overwriting to_json implementation for ...José Valim2010-06-261-6/+15
* Regression with how base errors messages are added to a model. Works correctl...Josh Kalderimis2010-06-231-3/+18
* Make use of assert_equal to test equallity between object assert expects and ...Santiago Pastorino2010-05-161-1/+1
* validation macros can now be used within an instanceJosh Kalderimis2010-05-131-0/+13
* removed AR from all AMo tests, including any unneeded files (schema, fixtures...Josh Kalderimis2010-05-091-11/+9
* 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-32/+34
* Re-define empty? for errors to check if the values inside the OrderedHash are...Ryan Bigg2010-04-101-0/+6
* Add validators reflection so you can do 'Person.validators' and 'Person.valid...Prem Sichanugrist2010-02-211-0/+27
* Adding Proc support to validation messages so that they can become a little m...Samuel Elliott2010-01-171-0/+8
* Be sure to convert namespaced names to we have 'Parrots name' instead of 'Par...José Valim2010-01-021-0/+6
* No need to use ValidationsRepairHelper hack on ActiveModel anymore, Model.res...José Valim2009-12-231-2/+3
* Ensure validation errors to be ordered in declared orderAkira Matsuda2009-09-111-0/+16
* Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-081-3/+3
* Allow validations to use values from custom readers [#2936 state:resolved]James Hill2009-08-051-0/+14
* Deprecate Errors#on_base/add_to_base/invalid?/each_fullPratik Naik2009-03-211-6/+18
* Validation tests arent using any fixturesPratik Naik2009-03-201-2/+0