aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations/uniqueness_validation_test.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Revert "Merge pull request #2325 from pyromaniac/master"José Valim2012-01-061-12/+0
* Fixed nil field value uniqueness checkpyromaniac2012-01-061-0/+12
* 'with_kcode' removed. Arun Agrawal2011-12-211-17/+13
* 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
* Do not use SQL LIKE operator for case insensitive uniqueness validationRaimonds Simanovskis2011-04-251-0/+26
* DRY up the code which instantiates the association proxyJon Leighton2011-01-111-13/+0