aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations/uniqueness.rb
Commit message (Expand)AuthorAgeFilesLines
* 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
* Added support for validates_uniqueness_of in PostgreSQL array columns. Fixes:...Pedro Padron2012-12-181-1/+6
* refactoring of uniqueness validate_eachAngelo Capilleri2012-10-141-1/+2
* small refactoring of build_relation in uniquenessAngelo Capilleri2012-09-291-5/+3
* update AR::Validations documentation [ci skip]Francesco Rodriguez2012-09-221-6/+6
* update AR::Validations::UniquenessValidator documentation [ci skip]Francesco Rodriguez2012-07-291-31/+45
* Fixes "Cannot visit ..." with validates_uniqueness_ofbeerlington2012-07-171-1/+1
* fix tests for SQLite3AdapterAndrey Deryabin2012-04-271-1/+0
* Correct grammar in documentationMattias Pfeiffer2012-03-071-1/+1
* Change syntax to accept an AR::Relation instead of old conditions hash/array.Mattias Pfeiffer2012-03-071-3/+9
* Add :conditions option to uniqueness validatorMattias Pfeiffer2012-03-071-2/+12
* say unshift when you mean unshift (modulus prepend)Xavier Noria2012-02-111-1/+3
* Remove initialize variable columnn, not neededPaco Guzman2012-01-291-2/+1
* allow association as 1st uniqueness validation argDan Pickett2012-01-061-1/+9
* allow an association as a scope parameterDan Pickett2012-01-061-0/+5
* Fixed nil field value uniqueness checkpyromaniac2012-01-061-2/+2
* Revert "Merge pull request #2325 from pyromaniac/master"José Valim2012-01-061-1/+1
* Merge pull request #4340 from rafaelfranca/patch-1José Valim2012-01-051-4/+2
|\
| * Whitespaces :scissors:Rafael Mendonça França2012-01-061-1/+1
| * Remove Array.wrap calls in ActiveRecordRafael Mendonça França2012-01-061-3/+1
* | Fixed nil field value uniqueness checkpyromaniac2012-01-061-1/+1
|/
* remove useless call to mb_charsSergey Nartimov2012-01-051-1/+1
* Only use LOWER for mysql case insensitive uniqueness check when column has a ...Joseph Palermo2011-10-091-2/+2
* Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-2/+2
* Do not use SQL LIKE operator for case insensitive uniqueness validationRaimonds Simanovskis2011-04-251-2/+3
* adding a case_sensitive_modifier for forcing comparisons to be case sensitiveAaron Patterson2011-04-111-0/+1
* Refactored uniqueness validator to use Arel instead of hardcoded SQLBrian Cardarella2011-04-101-26/+11
* Adjust unique constraint comment to include info about the RecordNotUnique ex...Anders Elfving2011-03-131-4/+11
* make sure de-serialization happens on object instantiationAaron Patterson2011-02-011-0/+6
* store the serialized column values in the @attributes hashAaron Patterson2011-02-011-6/+0
* move the coders to the serialized_attributes hashAaron Patterson2011-02-011-2/+4
* Fix documentation for validates_uniqueness_of to NOT have a :scope argument a...Ryan Bigg2011-01-061-3/+8
* No need to create a variables to use them once.Emilio Tagua2010-11-241-5/+2
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-1/+1
* Update the validates_uniqueness_of documentation to tell you to use a unique ...Michael Koziarski2010-11-081-25/+17
* serialized attributes should be serialized before validation [#5525 state:res...Aaron Patterson2010-09-071-0/+5
* Deletes trailing whitespaces (over text files only find * -type f -exec sed '...Santiago Pastorino2010-08-141-10/+10
* ensuring that description does not exceed 100 columnsNeeraj Singh2010-08-021-9/+13
* Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options has...Jeroen van Dijk2010-06-211-1/+1
* Avoid deprecated String#to_a by using Array.wrap(...) instead of Array(...)Jeremy Kemper2010-04-101-1/+3
* use the database to lower case strings rather than ruby. [#4293 state:resolved]Aaron Patterson2010-03-281-4/+2
* Rename Model.active_relation to Model.unscopedPratik Naik2010-01-171-1/+1
* Ensure new validates works with uniqueness validator.José Valim2010-01-081-3/+6