aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations/uniqueness.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #26378 from kamipo/decouple_building_arel_ast_for_uniquene...Jeremy Daer2017-02-061-31/+1
|\
| * Decouple the building Arel ASTs for uniqueness validatorRyuta Kamizono2016-12-251-31/+1
* | No need `:doc:` for `:nodoc:` classes [ci skip]Ryuta Kamizono2016-12-251-2/+2
|/
* Privatize unneededly protected methods in Active RecordAkira Matsuda2016-12-241-5/+5
* fix the uniqueness validation scope with a polymorphic associationSergey Alekseev2016-11-261-4/+3
* Deprecate the behavior of AR::Dirty inside of after_(create|update|save) call...Sean Griffin2016-11-011-1/+1
* Revert "Extract `PredicateBuilder::CaseSensitiveHandler`"Sean Griffin2016-08-311-1/+31
* Extract `PredicateBuilder::CaseSensitiveHandler`Ryuta Kamizono2016-08-161-31/+1
* Revert passing arel node with splat binds for `where`Ryuta Kamizono2016-08-061-2/+5
* Don't passing a nil value to `case_sensitive_comparison`Ryuta Kamizono2016-08-061-7/+7
* Remove unused `table` arg for `UniquenessValidator#scope_relation`Ryuta Kamizono2016-07-181-5/+5
* Prevent `RangeError` for `FinderMethods#exists?`Ryuta Kamizono2016-06-161-1/+0
* Avoid type casting in uniqueness validatorRyuta Kamizono2016-06-041-5/+2
* Merge pull request #23523 from kamipo/avoid_truncation_in_uniqueness_validationJeremy Daer2016-04-181-3/+0
|\
| * Avoid a string value truncation in uniqueness validationRyuta Kamizono2016-02-121-3/+0
* | Fix uniqueness validation with an after_create hook.Joe Rafaniello2016-02-251-1/+1
* | Revert changes to validations from PR #18612eileencodes2016-02-231-1/+0
* | Merge pull request #23628 from maclover7/fix-23625Sean Griffin2016-02-231-1/+1
|\ \
| * | Fix issue #23625Jon Moss2016-02-181-1/+1
| |/
* / Reduce `attribute.to_s`Ryuta Kamizono2016-02-221-6/+5
|/
* UniquenessValidator exclude itself when PK changedDiego Silva2016-02-091-1/+1
* Refactor `case_{sensitive|insensitive}_comparison`Ryuta Kamizono2016-01-011-3/+6
* Remove legacy mysql adapterAbdelkader Boudih2015-12-171-1/+0
* applies new doc guidelines to Active Record.Yves Senn2015-10-141-4/+5
* uniqueness validation raises error for persisted record without pk.Yves Senn2015-08-201-1/+5
* Properly allow uniqueness validations on primary keys.Sean Griffin2015-07-251-1/+3
* Fix uniqueness validation with out of range valueAndrey Voronkov2015-04-081-0/+2
* `type_cast_for_database` -> `serialize`Sean Griffin2015-02-171-1/+1
* rm `Type#text?`Sean Griffin2015-02-071-1/+1
* Fix validations on child record when record parent has validate: falseeileencodes2015-02-011-0/+1
* Remove most type related predicates from `Column`Sean Griffin2015-01-301-2/+3
* Don't rely on the column for type information in uniquness validationsSean Griffin2015-01-011-1/+2
* Remove all cases of manuallly wrapping `Arel::Nodes::Quoted`Sean Griffin2014-12-291-1/+0
* Go through normal `where` logic in uniqueness validationSean Griffin2014-12-261-4/+6
* We don't need to cast the value a second time in uniqueness validationsSean Griffin2014-12-261-0/+1
* Correctly ignore `case_sensitive` for UUID uniqueness validationSean Griffin2014-12-261-1/+1
* Improve the performance of reading attributesSean Griffin2014-11-181-1/+1
* [ci skip] fix doc typo for validates_uniqueness_ofSatoru Yamasaki2014-07-291-1/+1
* Remove the `text?` predicate from the type objectsSean Griffin2014-07-061-2/+4
* Don't rely on the column for type casting reflectionsSean Griffin2014-06-181-1/+1
* Remove most code related to serialized propertiesSean Griffin2014-06-011-7/+0
* Merge pull request #15210 from arthurnn/fix_hbtm_reflectionArthur Neves2014-05-241-2/+2
* Follow up to bbe7fe41 to fix enum leakage across classes.Godfrey Chan2014-04-071-1/+1
* Merge pull request #13040 from kamipo/case_sensitive_comparisonRafael Mendonça França2014-03-121-2/+1
|\
| * Only use BINARY for mysql case sensitive uniqueness check when column has a c...Ryuta Kamizono2013-11-261-2/+1
* | WhitespacesRafael Mendonça França2014-03-101-2/+2
* | Fix a bug affecting validations of enum attributesTheMonster2014-02-271-0/+7
* | Cleanups in API docs: his => theirGuillermo Iguaran2013-12-021-2/+2
* | Use genderless pronouns in API docsGuillermo Iguaran2013-12-011-1/+1
* | Merge pull request #13061 from laurocaetano/fix-uniqueness-validation-for-ali...Rafael Mendonça França2013-11-261-1/+9
|/