aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/validations
Commit message (Expand)AuthorAgeFilesLines
...
* Change uniq validation with conditions examples to use where with hashesCarlos Antonio da Silva2013-03-091-2/+2
* Uniqueness validation uses a proc to specify the `:conditions` option.Yves Senn2013-03-091-1/+7
* Added support for validates_uniqueness_of in PostgreSQL array columns. Fixes:...Pedro Padron2012-12-181-3/+20
* Add tests to make sure that the I18n taken message can be overrided in theRafael Mendonça França2012-10-221-0/+14
* Changed scope for "taken" error message translation to decrease precedenceAndrew DiMichele2012-10-191-0/+5
* Fix bug with presence validation of associations.Scott Willson2012-10-161-0/+7
* Cleanup trailing whitespacesdfens2012-10-121-1/+1
* gradually moving documentation to new hash syntaxAvnerCohen2012-10-101-1/+1
* Merge pull request #6827 from zephyr-dev/masterJosé Valim2012-07-271-0/+44
|\
| * AR has a subclass of AM:PresenceValidator.Brent Wheeldon & Nick Monje2012-07-201-0/+44
* | Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-271-1/+1
* | Fixes "Cannot visit ..." with validates_uniqueness_ofbeerlington2012-07-171-0/+16
|/
* remove deprecated callsJon Leighton2012-04-271-1/+1
* remove calls to find(:first), find(:last) and find(:all)Jon Leighton2012-04-261-1/+1
* remove tests for #with_scope (it's now deprecated)Jon Leighton2012-04-251-2/+2
* removed unused variablesArun Agrawal2012-03-271-2/+2
* Change syntax to accept an AR::Relation instead of old conditions hash/array.Mattias Pfeiffer2012-03-071-1/+1
* Add :conditions option to uniqueness validatorMattias Pfeiffer2012-03-071-0/+12
* Tweak activerecord/test/cases/validations/i18n_generate_message_validation_te...Christopher Dell2012-03-051-1/+2
* Test that RecordInvalid exception's translation falls back to the :errors nam...Christopher Dell2012-03-051-0/+18
* validate related records in the same validation context as parent.Emmanuel Oga2012-01-171-0/+17
* allow association as 1st uniqueness validation argDan Pickett2012-01-061-0/+12
* allow an association as a scope parameterDan Pickett2012-01-061-0/+12
* Fixed nil field value uniqueness checkpyromaniac2012-01-061-0/+12
* Revert "Merge pull request #2325 from pyromaniac/master"José Valim2012-01-061-12/+0
* Fixed nil field value uniqueness checkpyromaniac2012-01-061-0/+12
* 'with_kcode' removed. Arun Agrawal2011-12-212-25/+19
* Do not validate associated records marked for destructionOlek Janiszewski2011-12-051-0/+10
* please use ruby -I lib:test path/to/test.rb, or export RUBY_OPTAaron Patterson2011-06-064-4/+4
* Refactor Active Record test connection setup. Please see the RUNNING_UNIT_TES...Jon Leighton2011-06-044-4/+4
* Do not use SQL LIKE operator for case insensitive uniqueness validationRaimonds Simanovskis2011-04-251-0/+26
* DRY up the code which instantiates the association proxyJon Leighton2011-01-111-13/+0
* removing many unused variablesAaron Patterson2010-11-162-4/+4
* removing unused models from testsSubba Rao Pasupuleti2010-07-211-1/+0
* Make ActiveModel::Errors#add_on_blank and #add_on_empty accept an options has...Jeroen van Dijk2010-06-212-28/+34
* Favor %{} in all code instead of (deprecated) {{}} as interpolation syntax fo...Lawrence Pit2010-05-031-2/+2
* removing dead code from activerecord tests. [#4187 state:resolved]Aaron Patterson2010-03-151-19/+0
* Drop AR I18n deprecation and simple use errors.messages as fallback.José Valim2010-01-301-7/+7
* Ensure new validates works with uniqueness validator.José Valim2010-01-082-85/+78
* Be sure to dup load paths before clearing the array.José Valim2010-01-071-1/+1
* Errors messages are now moved from :activerecord.errors to simply :errors on ...José Valim2010-01-072-82/+25
* Simplify repair_validations on AR and make it work with new callbacks.José Valim2010-01-013-15/+5
* Don't publicize with_scope for tests since it may shadow public misuseJeremy Kemper2009-12-281-1/+1
* Move validator, human_name and human_attribute_name to ActiveModel, remove de...José Valim2009-10-202-852/+9
* Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-082-30/+6
* allow ActiveRecord#RecordInvalid exception message to be localizedSven Fuchs2009-08-261-0/+188
* Fixed typo in test name and CHANGELOG [#3017 state:resolved]Arthur Zapparoli2009-08-101-1/+1
* validate uniqueness with limit in utf8Elise Huard2009-08-091-0/+10
* 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