aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/validations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Deprecate Error#on(attribute) in favour of Errors#[attribute]Pratik Naik2009-03-201-1/+25
* TestDatabase -> TestsDatabasePratik Naik2009-03-201-2/+2
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-0/+144