aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations
Commit message (Expand)AuthorAgeFilesLines
* Removed mocha from Active Record Part 1Ronak Jangir2015-08-251-4/+6
* uniqueness validation raises error for persisted record without pk.Yves Senn2015-08-201-0/+23
* Properly allow uniqueness validations on primary keys.Sean Griffin2015-07-251-0/+19
* AR absence validator respects `marked_for_destruction?`. Closes #20449.Yves Senn2015-06-221-0/+75
* Merge branch 'fix_uniqueness_validation_when_value_is_out_of_range'Sean Griffin2015-04-081-0/+25
|\
| * Fix uniqueness validation with out of range valueAndrey Voronkov2015-04-081-0/+25
|/
* replace `repair_validations` with a disposable subclass.Yves Senn2015-03-061-32/+33
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-033-3/+0
* Fix validations on child record when record parent has validate: falseeileencodes2015-02-014-5/+50
* AR specific length validator to respect `marked_for_destruction`.Yves Senn2014-12-301-0/+18
* pg tests, move uniqueness validation test to array tests.Yves Senn2014-12-021-17/+0
* Fixes a bug found when running individual tests against #17217 after mergingSammy Larbi2014-11-101-1/+1
* Clear validators before and after each testAkira Matsuda2014-08-141-0/+1
* Remove the side-effects of validates_presence_of.Zuhao Wan2014-07-221-2/+3
* move AR length validation tests into separate test-case.Yves Senn2014-04-242-42/+48
* Use teardown helper method.Guo Xiang Tan2014-03-141-1/+1
* passing an instance of an AR object to `find` is deprecatedAaron Patterson2014-03-131-1/+1
* use the new clear_validators! api everywhere to reset validators in testsKuldeep Aggarwal2014-01-281-1/+1
* Add CHANGELOG entry for #13557 [ci skip]Rafael Mendonça França2014-01-011-1/+0
* add test casegmarik2013-12-311-0/+17
* Merge pull request #13061 from laurocaetano/fix-uniqueness-validation-for-ali...Rafael Mendonça França2013-11-261-0/+8
* Fix validation on uniqueness of empty associationEvgeny Li2013-11-221-0/+19
* Fix bad test order dependency between test/cases/validations/i18n_generate_me...Ryan Davis2013-11-161-8/+16
* Don't skip tests if we don't need to.Rafael Mendonça França2013-11-081-10/+10
* Properly repair validations when dynamically addedAkira Matsuda2013-07-291-24/+30
* Revert "Merge pull request #4490 from EmmanuelOga/master"José Valim2013-06-041-17/+0
* Fix wrong `case_sensitive` in uniqueness validity testVipul A M2013-05-201-1/+1
* Fixed typos in activerecordPrathamesh Sonpatki2013-03-271-1/+1
* Change uniq validation with conditions examples to use where with hashesCarlos Antonio da Silva2013-03-091-2/+2
* Uniqueness validation uses a proc to specify the `:conditions` option.Yves Senn2013-03-091-1/+7
* Added support for validates_uniqueness_of in PostgreSQL array columns. Fixes:...Pedro Padron2012-12-181-3/+20
* Add tests to make sure that the I18n taken message can be overrided in theRafael Mendonça França2012-10-221-0/+14
* Changed scope for "taken" error message translation to decrease precedenceAndrew DiMichele2012-10-191-0/+5
* Fix bug with presence validation of associations.Scott Willson2012-10-161-0/+7
* Cleanup trailing whitespacesdfens2012-10-121-1/+1
* gradually moving documentation to new hash syntaxAvnerCohen2012-10-101-1/+1
* Merge pull request #6827 from zephyr-dev/masterJosé Valim2012-07-271-0/+44
|\
| * AR has a subclass of AM:PresenceValidator.Brent Wheeldon & Nick Monje2012-07-201-0/+44
* | Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-1/+1
* | Fixes "Cannot visit ..." with validates_uniqueness_ofbeerlington2012-07-171-0/+16
|/
* remove deprecated callsJon Leighton2012-04-271-1/+1
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-1/+1
* remove tests for #with_scope (it's now deprecated)Jon Leighton2012-04-251-2/+2
* removed unused variablesArun Agrawal2012-03-271-2/+2
* Change syntax to accept an AR::Relation instead of old conditions hash/array.Mattias Pfeiffer2012-03-071-1/+1
* Add :conditions option to uniqueness validatorMattias Pfeiffer2012-03-071-0/+12
* Tweak activerecord/test/cases/validations/i18n_generate_message_validation_te...Christopher Dell2012-03-051-1/+2
* Test that RecordInvalid exception's translation falls back to the :errors nam...Christopher Dell2012-03-051-0/+18
* validate related records in the same validation context as parent.Emmanuel Oga2012-01-171-0/+17
* allow association as 1st uniqueness validation argDan Pickett2012-01-061-0/+12