aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/validations_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Consolidated different create and create! versions to call through to the bas...Tobias Lütke2006-12-061-0/+25
* validates_numericality_of uses \A \Z to ensure the entire string matches rath...Jeremy Kemper2006-11-201-12/+19
* Run validations in the order they were declared. Closes #6657.Jeremy Kemper2006-11-201-7/+16
* Deprecated add_on_boundary_breaking (use validates_length_of instead) (closes...David Heinemeier Hansson2006-10-091-13/+12
* save! shouldn't validate twice. Closes #6324.Jeremy Kemper2006-10-021-0/+6
* Rollback [4917]. Closes #785.Jeremy Kemper2006-09-071-2/+2
* Validation testsJeremy Kemper2006-09-031-30/+40
* r4704@asus: jeremy | 2006-06-27 12:00:19 -0700Jeremy Kemper2006-07-081-5/+7
* create! no longer blows up when no attributes are passed and a :create scope ...Jeremy Kemper2006-05-191-0/+6
* Add ActiveRecord::Errors#to_xmlJamis Buck2006-04-211-0/+9
* Add :case_sensitive option to validates_uniqueness_of (closes #3090) [Rick]Rick Olson2006-04-121-0/+31
* Update descriptionDavid Heinemeier Hansson2006-03-281-14/+14
* Added more tests to validates_format_of (closes #3142) [jp.bougie@gmail.com]David Heinemeier Hansson2006-03-181-0/+28
* Fixed validates_length_of to work on UTF-8 strings by using characters instea...David Heinemeier Hansson2006-02-251-0/+135
* Allow validate_uniqueness_of to be scoped by more than just one column. Close...Marcel Molina2005-12-021-0/+24
* Add Model.create! to match existing model.save! method. When save! raises Re...Jeremy Kemper2005-11-031-2/+10
* Clean up and extend test coverage for validates_numericality_ofJeremy Kemper2005-09-291-37/+60
* r3603@asus: jeremy | 2005-09-26 19:10:00 -0700Jeremy Kemper2005-09-261-5/+10
* Fixed validates_numericality_of to work with overrided getter-method when :al...David Heinemeier Hansson2005-07-021-0/+7
* Clarified intentions of validates_associated #870David Heinemeier Hansson2005-07-021-1/+11
* Added support for ODBC connections to MS SQL Server so you can connect from a...David Heinemeier Hansson2005-07-011-2/+2
* Fixed that validations didn't respecting custom setting for too_short, too_lo...David Heinemeier Hansson2005-06-251-0/+9
* Added Errors#add_on_blank which works like Errors#add_on_empty, but uses Obje...David Heinemeier Hansson2005-05-211-3/+8
* Added the :if option to all validations that can either use a block or a meth...David Heinemeier Hansson2005-05-211-2/+65
* Fixed that validate_length_of lost :on option when :within was specified #119...David Heinemeier Hansson2005-04-301-0/+42
* Added validates_exclusion_of as a negative of validates_inclusion_ofDavid Heinemeier Hansson2005-04-241-0/+7
* Fixed documentation and prepared for release of 0.12David Heinemeier Hansson2005-04-181-1/+1
* Added Base.save! that attempts to save the record just like Base.save but wil...David Heinemeier Hansson2005-04-181-0/+5
* Added the option to specify the acceptance string in validates_acceptance_of ...David Heinemeier Hansson2005-04-171-0/+11
* Added optionally allow for nil or empty strings with validates_numericality_o...David Heinemeier Hansson2005-03-141-16/+16
* Added validates_numericality_of #716 [skanthak/c.r.mcgrath]David Heinemeier Hansson2005-03-061-0/+38
* Fixed that when using validation macros with a custom message, if you happene...David Heinemeier Hansson2005-02-221-0/+82
* Added validates_each that validates each specified attribute against a block ...David Heinemeier Hansson2005-02-181-39/+130
* Addded validation for validate all the associated objects before declaring fa...David Heinemeier Hansson2005-02-171-2/+17
* Added validates_associated that enables validation of objects in an unsaved a...David Heinemeier Hansson2005-01-151-0/+21
* Fixed quoting in validates_format_of that would allow some rules to pass rega...David Heinemeier Hansson2004-12-311-1/+1
* Added scope option to validation_uniqueness #349 [Kent Sibilev]David Heinemeier Hansson2004-12-221-0/+19
* Added allow_nil options to validates_inclusion_of so that validation is only ...David Heinemeier Hansson2004-12-221-0/+8
* Fixed validates_{confirmation,acceptance}_of to only happen when the virtual ...David Heinemeier Hansson2004-12-211-4/+18
* Set a high default salary within the validation rangeDavid Heinemeier Hansson2004-12-191-1/+1
* Added Developer#salary for the type testsDavid Heinemeier Hansson2004-12-191-1/+0
* Added respondence to *_before_type_cast for all attributes to return their st...David Heinemeier Hansson2004-12-191-1/+8
* Added Base.validates_inclusion_ofDavid Heinemeier Hansson2004-12-161-14/+119
* Added Base.validates_inclusion_of that validates whether the value of the spe...David Heinemeier Hansson2004-12-161-0/+23
* Added Base.validates_format_of that Validates whether the value of the specif...David Heinemeier Hansson2004-12-161-2/+19
* Added Base.validates_boundries_of that delegates to add_on_boundary_breaking ...David Heinemeier Hansson2004-12-151-0/+14
* Changed validate_* to validates_*_of, so validate_acceptance becomes validate...David Heinemeier Hansson2004-12-151-5/+8
* fixtures :models will now also attempt to include the model.rb fileDavid Heinemeier Hansson2004-12-141-4/+0
* Options for the new validation methods are now given as a hashDavid Heinemeier Hansson2004-12-101-1/+1
* Added Base.validate_uniqueness thatv alidates whether the value of the specif...David Heinemeier Hansson2004-12-101-0/+18