aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations.rb
Commit message (Expand)AuthorAgeFilesLines
* Use define_callbacks helper for ActiveRecord validations.Joshua Peek2008-04-201-21/+5
* Tidy up ActiveSupport::Callbacks::CallbackChain instance API.Joshua Peek2008-04-171-2/+1
* Change validates_uniqueness_of :case_sensitive option default back to true (f...Rick Olson2008-04-101-2/+2
* Improve documentation.Pratik Naik2008-04-051-2/+2
* Ensure that validates_uniqueness_of works with with_scope. Closes #9235. [nik...Pratik Naik2008-03-311-6/+8
* Fix case-sensitive validates_uniqueness_of. Closes #11366 [miloops]Jeremy Kemper2008-03-311-19/+37
* Add :message option to validates_numericality_of. Closes #11456 [miloops, mde...Jeremy Kemper2008-03-311-1/+3
* Fixed that validates_size_of :within works in associations (closes #11295, #1...David Heinemeier Hansson2008-03-291-7/+5
* Refactor filters to use Active Support callbacks. Closes #11235.Jeremy Kemper2008-03-181-8/+9
* Fix rdoc typo. Closes #11205 [wangchun]Jeremy Kemper2008-02-241-1/+1
* Show RecordInvalid in the documentation. References #10976 [kampers]Michael Koziarski2008-02-101-2/+2
* Remove misleading / incorrect warning from validation documentation. Closes ...Michael Koziarski2008-02-091-11/+0
* Make the docs reference the correct function. [Tobi Reif]Michael Koziarski2008-02-041-1/+1
* Add tests and documentation for allow_blank. Closes #10651 [blj]Michael Koziarski2008-01-261-0/+2
* Extract ActiveSupport::Callbacks from Active Record, test case setup and tear...Jeremy Kemper2008-01-191-91/+31
* Ruby 1.9 compat: instance_eval binding to get the record binding instead of a...Jeremy Kemper2008-01-061-1/+1
* More thoroughly quote table names. Exposes some issues with sqlite2 adapter. ...Jeremy Kemper2008-01-051-4/+4
* Document what to pass the :accept option for validates_acceptance_of when map...Marcel Molina2007-12-131-1/+2
* Fix that validates_acceptance_of still works for non-existent tables (useful ...Rick Olson2007-12-121-2/+8
* Document the validates class method. Closes #10216 [Farley Knight]Jeremy Kemper2007-12-101-1/+27
* Add documentation about the virtual attribute added by validates_confirmation...Marcel Molina2007-12-051-3/+6
* Document the :message option for validates_associated. Closes #10357 [dylans]Marcel Molina2007-12-051-0/+1
* Fix documentation typo introduced in [8250]. Closes #10339 [Henrik N]Marcel Molina2007-12-021-1/+1
* Warn users about the race condition in validates_uniqueness_of. [Koz]Michael Koziarski2007-12-011-0/+4
* Allow validates_acceptance_of to use a real attribute instead of only virtual...David Heinemeier Hansson2007-11-251-3/+3
* validates_inclusion_of and validates_exclusion_of allow formatted :message st...Jeremy Kemper2007-11-201-4/+6
* Smattering of grammatical fixes to documentation. Closes #10083 [BobSilva]Marcel Molina2007-11-081-3/+3
* validates_uniqueness_of behaves well with abstract superclasses. References #...Jeremy Kemper2007-10-231-1/+15
* validates_uniqueness_of behaves well with single-table inheritance. Closes #3...Jeremy Kemper2007-10-081-1/+4
* minor speedups + forward-compat syntaxJeremy Kemper2007-09-131-2/+2
* Add :allow_blank to validations. Like allow_nil, but for values which are +bl...Michael Koziarski2007-09-051-1/+8
* Remove deprecated functionality from edge rails. Closes #9387 [lifofifo]Michael Koziarski2007-09-031-13/+0
* Pass the right binding when string is passed to :if with validations. [casper...Michael Koziarski2007-08-281-1/+1
* Use extract_options instead of ad-hoc partial implementations. [norbert] Clos...Michael Koziarski2007-08-281-11/+12
* Remove unnecessary loop in validates_presence_of. [sur] Closes #9392Michael Koziarski2007-08-281-7/+5
* Make sure create! raises errors on validation when creating multiple records....Michael Koziarski2007-08-281-1/+1
* misc doc fixes + Add ActiveResource to Rails::Info. Closes #8741, #9008, #90...Rick Olson2007-07-251-45/+45
* Added :unless clause to validations (closes #8003) [monki]David Heinemeier Hansson2007-07-241-3/+36
* Fixed validates_associated should not stop on the first error (closes #4276) ...David Heinemeier Hansson2007-06-231-1/+1
* validates_numericality_of takes :greater_than, :greater_than_or_equal_to, :eq...Jeremy Kemper2007-05-261-14/+51
* Document :allow_nil option for validates_acceptance_of since it defaults to t...Marcel Molina2007-05-061-0/+1
* Fix typo in validations documentation. Closes #7669. [ee]Marcel Molina2007-03-031-2/+2
* Docs: validations examples. Closes #7343.Jeremy Kemper2007-01-241-13/+74
* Apply scoping during initialize instead of create. Fixes setting of foreign ...Tobias Lütke2007-01-121-1/+0
* [DOCS] Document :allow_nil option of #validate_uniqueness_of. Closes #3143 [C...Rick Olson2007-01-051-0/+1
* Consolidated different create and create! versions to call through to the bas...Tobias Lütke2006-12-061-4/+2
* validates_numericality_of uses \A \Z to ensure the entire string matches rath...Jeremy Kemper2006-11-201-3/+5
* Run validations in the order they were declared. Closes #6657.Jeremy Kemper2006-11-201-1/+1
* Consistently use LOWER() for uniqueness validations (rather than mixing with ...Jeremy Kemper2006-11-051-2/+2
* a few more deprecation improvementsJamis Buck2006-10-241-1/+1