aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations/uniqueness_validation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Replace “can not” with “cannot”.Samantha John2019-03-061-1/+1
* Deprecate mismatched collation comparison for uniquness validatorRyuta Kamizono2019-03-041-0/+45
* Fix `CustomCops/AssertNot` to allow it to have failure messageRyuta Kamizono2018-05-131-24/+24
* Deprecate update_attributes and update_attributes!Eddie Lebow2018-02-171-1/+1
* Use assert_empty and assert_not_emptyDaniel Colson2018-01-251-5/+5
* Use assert_predicate and assert_not_predicateDaniel Colson2018-01-251-20/+20
* Change refute to assert_notDaniel Colson2018-01-251-2/+2
* Check :scope input in Uniqueness validatorKir Shatrov2017-08-131-0/+7
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-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
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2017-03-041-1/+1
|\
| * Remove duplicated "does" [ci skip]Ryuta Kamizono2017-02-141-1/+1
* | Fix a tests of AR::ValueTooLong when using OracleAdapterKoichi ITO2017-02-141-2/+2
|/
* fix the uniqueness validation scope with a polymorphic associationSergey Alekseev2016-11-261-0/+16
* modernizes hash syntax in activerecordXavier Noria2016-08-061-23/+23
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-25/+25
* Merge pull request #23523 from kamipo/avoid_truncation_in_uniqueness_validationJeremy Daer2016-04-181-10/+32
|\
| * Avoid a string value truncation in uniqueness validationRyuta Kamizono2016-02-121-10/+22
* | Fix uniqueness validation with an after_create hook.Joe Rafaniello2016-02-251-0/+18
* | Revert changes to validations from PR #18612eileencodes2016-02-231-17/+0
* | Fix issue #23625Jon Moss2016-02-181-0/+26
|/
* UniquenessValidator exclude itself when PK changedDiego Silva2016-02-091-0/+11
* 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
* 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
|/
* Removed magic comments # encoding: utf-8 , since its default from ruby 2.0 on...Vipul A M2015-02-031-1/+0
* Fix validations on child record when record parent has validate: falseeileencodes2015-02-011-0/+17
* 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
* passing an instance of an AR object to `find` is deprecatedAaron Patterson2014-03-131-1/+1
* 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
* Don't skip tests if we don't need to.Rafael Mendonça França2013-11-081-10/+10
* 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
* 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 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
* allow association as 1st uniqueness validation argDan Pickett2012-01-061-0/+12
* allow an association as a scope parameterDan Pickett2012-01-061-0/+12
* Fixed nil field value uniqueness checkpyromaniac2012-01-061-0/+12