aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations/uniqueness_validation_test.rb
Commit message (Collapse)AuthorAgeFilesLines
...
* 'with_kcode' removed. Arun Agrawal2011-12-211-17/+13
| | | | Testing Sandbox removed.
* 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 ↵Jon Leighton2011-06-041-1/+1
| | | | RUNNING_UNIT_TESTS file for details, but essentially you can now configure things in test/config.yml. You can also run tests directly via the command line, e.g. ruby path/to/test.rb (no rake needed, uses default db connection from test/config.yml). This will help us fix the CI by enabling us to isolate the different Rails versions to different databases.
* Do not use SQL LIKE operator for case insensitive uniqueness validationRaimonds Simanovskis2011-04-251-0/+26
| | | It can result in wrong results if values contain special % or _ characters. It is safer to use SQL LOWER function and compare for equality.
* DRY up the code which instantiates the association proxyJon Leighton2011-01-111-13/+0
|
* removing many unused variablesAaron Patterson2010-11-161-2/+2
|
* Ensure new validates works with uniqueness validator.José Valim2010-01-081-30/+35
|
* Simplify repair_validations on AR and make it work with new callbacks.José Valim2010-01-011-11/+0
|
* Don't publicize with_scope for tests since it may shadow public misuseJeremy Kemper2009-12-281-1/+1
|
* Fixed typo in test name and CHANGELOG [#3017 state:resolved]Arthur Zapparoli2009-08-101-1/+1
| | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
* validate uniqueness with limit in utf8Elise Huard2009-08-091-0/+10
| | | | | | [#2653 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Fix standalone test missing developer fixtureJeremy Kemper2009-08-091-1/+2
|
* Added a uniqueness validation test that uses diacritics.Hugo Peixoto2009-08-091-2/+2
| | | | | | [#2883 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>
* Move relevant validation tests from Active Record to Active ModelPratik Naik2009-03-201-0/+278