aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations
Commit message (Expand)AuthorAgeFilesLines
* 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
* A few documentation fixes [ci skip]Robin Dupret2015-06-231-1/+1
* refactor, don't duplicate presence validator logic.Yves Senn2015-06-221-10/+4
* docs, update Active Model reference for AR length validator. [ci skip]Yves Senn2015-06-221-1/+4
* AR absence validator respects `marked_for_destruction?`. Closes #20449.Yves Senn2015-06-221-0/+24
* Missing note on validates_presence_of validation [ci skip]Mehmet Emin İNAÇ2015-04-111-0/+4
* 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-013-0/+14
* 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
* AR specific length validator to respect `marked_for_destruction`.Yves Senn2014-12-301-0/+21
* 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
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-1/+1
* Improve the performance of reading attributesSean Griffin2014-11-181-1/+1
* Add a note on custom validation contexts.Justin Weiss2014-08-052-6/+10
* [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-242-3/+3
* 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
* | Use `Array#wrap` instead `Array()`gmarik2013-12-311-1/+1
* | 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
|/
* Fix validation on uniqueness of empty associationEvgeny Li2013-11-221-1/+1
* replace artificial space with RDoc markup (follow up #11285). [ci skip]Yves Senn2013-07-041-2/+2
* [ci skip] Separated full stop from the Optimistic_concurrency_control wiki li...ankit88982013-07-041-1/+1
* Revert "Merge pull request #4490 from EmmanuelOga/master"José Valim2013-06-041-1/+1
* deprecate Validator#setup (to get rid of a respond_to call). validators do th...Nick Sutterer2013-05-231-6/+1
* documentation fixes for Array.wrap and AR::Validations::AssociatedValidatorHrvoje Šimić2013-04-171-2/+2
* Change uniq validation with conditions examples to use where with hashesCarlos Antonio da Silva2013-03-091-3/+3
* Uniqueness validation uses a proc to specify the `:conditions` option.Yves Senn2013-03-091-3/+7
* Extract some methodsCarlos Antonio da Silva2012-12-181-16/+22
* Change relation in placeCarlos Antonio da Silva2012-12-181-1/+1
* Simplify value logic by always typecastingCarlos Antonio da Silva2012-12-181-11/+5
* Avoid unnecessary hashes with error optionsCarlos Antonio da Silva2012-12-181-1/+4
* Remove prepend_and_append requirement from ASCarlos Antonio da Silva2012-12-181-3/+1
* Refactor uniqueness validator logic a bitCarlos Antonio da Silva2012-12-181-10/+5