aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #35503 from samjohn/cannot-grammar-correctionXavier Noria2019-03-071-1/+1
|\
| * Replace “can not” with “cannot”.Samantha John2019-03-061-1/+1
* | Move all Arel constructions from uniqueness validator into connection adapterRyuta Kamizono2019-03-071-3/+1
|/
* Deprecate mismatched collation comparison for uniquness validatorRyuta Kamizono2019-03-041-1/+1
* Extract `default_uniqueness_comparison` to ease to handle mismatched collatio...Ryuta Kamizono2019-02-211-1/+3
* Use `unboundable?` rather than `boundable?`Ryuta Kamizono2019-01-181-1/+1
* Refactor `bind_attribute` to expand an association to actual attributeRyuta Kamizono2019-01-111-5/+0
* Refactor `build_relation` in the uniqueness validator to avoid low level pred...Ryuta Kamizono2019-01-111-20/+13
* `id_in_database` do not return nil value for persisted recordRyuta Kamizono2018-03-041-1/+1
* remove incorrect statement about serializable transactionsJoe Van Dyk2017-10-251-3/+1
* Update links to use https instead of http [ci skip]Yoshiyuki Hirano2017-08-221-1/+1
* Check :scope input in Uniqueness validatorKir Shatrov2017-08-131-0/+4
* Merge pull request #29946 from kamipo/passing_arel_to_where_is_boundableSean Griffin2017-07-281-4/+1
|\
| * Building `where_clause` in `UniquenessValidator` is no longer neededRyuta Kamizono2017-07-261-4/+1
* | Use `predicate_builder.build_bind_attribute` wherever possibleRyuta Kamizono2017-07-281-2/+1
|/
* Refactor Active Record to let Arel manage bind paramsSean Griffin2017-07-241-1/+31
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-195-0/+10
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-025-5/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-015-0/+5
* change ActiveModel::Validation to ActiveModel::Validations in commentsSen Zhang2017-02-151-1/+1
* 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
* Merge pull request #26905 from bogdanvlviv/docsAndrew White2016-11-132-2/+2
|\
| * Add missing `+` around a some literals.bogdanvlviv2016-10-272-2/+2
* | 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-234-15/+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
* | Always validate record if validating a virtual attributeeileencodes2016-02-203-3/+3
|/
* 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
* Improve support for non Active Record objects on `validates_associated`Kassio Borges2015-11-081-2/+8
* applies new doc guidelines to Active Record.Yves Senn2015-10-143-8/+11
* 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