aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Build fix when running in isolationArun Agrawal2014-11-141-0/+1
* Add AR::Base#validate! methodBogdan Gusiev2014-06-231-0/+14
* Merge pull request #10662 from take/change-test-name-for-ActiveRecord--Valida...Carlos Antonio da Silva2014-05-111-9/+9
|\
| * Refactor AR's validations_test.rbTakehiro Adachi2013-12-031-9/+9
* | ActiveRecord/ActiveModel '#validate' alias for 'valid?'Henrik Nyh2014-03-271-0/+15
* | Prefer assert_raise instead of flunk + rescue to test for exceptionsCarlos Antonio da Silva2013-12-191-5/+3
|/
* Typo fixes [ci skip]Akshay Vishnoi2013-11-301-1/+1
* Remove mass assignment security from ActiveRecordGuillermo Iguaran2012-09-161-6/+0
* remove tests for #with_scope (it's now deprecated)Jon Leighton2012-04-251-24/+0
* Deprecate set_table_name in favour of self.table_name= or defining your own m...Jon Leighton2011-11-291-1/+1
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-061-1/+1
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-041-1/+1
* Cleanup deprecation warnings in active recordCarlos Antonio da Silva2010-09-061-43/+0
* removing unused models from testsSubba Rao Pasupuleti2010-07-211-5/+0
* Validators should at model level and not at AR:Base level [Closes #4804]Neeraj Singh2010-06-101-0/+10
* Fix failing test.José Valim2010-05-211-6/+6
* Replace assert with assert_equal in some test casesNeeraj Singh2010-05-211-2/+2
* Remove undocumented save_without_validation!Pratik Naik2010-05-111-6/+0
* Make sure valid? preceives the context as in ActiveModel API (ht: Carlos Anto...José Valim2010-05-101-0/+17
* updated AR to work with the AMo model validation changesJosh Kalderimis2010-05-081-1/+1
* test_validates_acceptance_of_as_database_column fixedSantiago Pastorino2010-02-051-3/+3
* Ensure deprecated validate methods are invoked when they are private [#3214 s...José Valim2010-01-181-1/+18
* save(false) is gone, use save(:validate => false) instead.José Valim2010-01-171-1/+9
* Simplify repair_validations on AR and make it work with new callbacks.José Valim2010-01-011-14/+14
* Don't publicize with_scope for tests since it may shadow public misuseJeremy Kemper2009-12-281-3/+3
* Move validator, human_name and human_attribute_name to ActiveModel, remove de...José Valim2009-10-201-31/+0
* Fix default_error_messages back to the original messageAkira Matsuda2009-09-111-3/+6
* Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-081-6/+3
* Deprecate Model#validate/validate_on_create/validate_on_update. Use Model.val...Pratik Naik2009-03-211-0/+34
* Deprecate Errors#on_base/add_to_base/invalid?/each_fullPratik Naik2009-03-211-2/+2
* Add ActiveModel::Validations tests for regular ruby classesPratik Naik2009-03-201-0/+9
* Add I18n translations to ActiveModel and move more AR specific parts to Activ...Pratik Naik2009-03-201-0/+12
* Deprecate Error#on(attribute) in favour of Errors#[attribute]Pratik Naik2009-03-201-2/+2
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-1469/+1
* Move all the Active Record validations to Active ModelPratik Naik2009-03-191-125/+123
* Ruby 1.9 compat: rename deprecated assert_raises to assert_raise.Jeremy Kemper2009-03-081-6/+6
* Add ActiveRecord::Base#invalid? as the opposite of #valid? [#2159 state:resol...Jeffrey Hardy2009-03-081-1/+12
* Ensure validates_uniqueness_of considers limit on the field. [#1042 state:res...Arthur Klepchukov2009-03-071-0/+9
* DRY with_kcode in Active Record testsPratik Naik2009-03-071-14/+0
* validate_length_of should use custom message if given when using in or within.miloops2009-02-011-0/+13
* Add a repair_helper to repair changes to the validations inside validations_t...Murray Steele2008-12-191-160/+191
* Fixes validates_uniquness_of problem with case insensitive string containing ...wmoxam2008-09-111-0/+7
* change activerecord validation tests to not use the deprecated interpolation ...Sven Fuchs2008-09-101-29/+29
* Make case insensitive validates_uniqueness_of use unicode aware downcase method.Eugene Pimenov2008-08-291-0/+12
* coerce blank strings to nil values for boolean and integer fieldsJosh Susser2008-08-221-4/+4
* Revert "coerce blank strings to nil values for boolean and integer fields"Jeremy Kemper2008-08-211-4/+4
* coerce blank strings to nil values for boolean and integer fieldsJosh Susser2008-08-211-4/+4
* Fix file permissionsTarmo Tänav2008-07-311-0/+0
* Ensure checked value is a string when validating case-sensitive uniqueness [#...Tom Ward2008-07-191-0/+9
* merge forward to current rails/masterSven Fuchs2008-07-161-5/+18
|\