aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations.rb
Commit message (Expand)AuthorAgeFilesLines
* Added validates_exclusion_of as a negative of validates_inclusion_ofDavid Heinemeier Hansson2005-04-241-0/+25
* Fixed documentation and prepared for release of 0.12David Heinemeier Hansson2005-04-181-3/+3
* Added Base.save! that attempts to save the record just like Base.save but wil...David Heinemeier Hansson2005-04-181-0/+9
* Added the option to specify the acceptance string in validates_acceptance_of ...David Heinemeier Hansson2005-04-171-3/+5
* Cleaned up validates_length_of by calling existing validations on the common ...David Heinemeier Hansson2005-04-171-29/+17
* Address parsing failed when the "to" (or "cc", or whatever) was an array. It ...David Heinemeier Hansson2005-04-131-4/+4
* Added optionally allow for nil or empty strings with validates_numericality_o...David Heinemeier Hansson2005-03-141-56/+46
* Added validates_numericality_of #716 [skanthak/c.r.mcgrath]David Heinemeier Hansson2005-03-061-42/+76
* Finished polishing API docsDavid Heinemeier Hansson2005-02-231-1/+3
* Fixed that when using validation macros with a custom message, if you happene...David Heinemeier Hansson2005-02-221-3/+11
* Added validates_each that validates each specified attribute against a block ...David Heinemeier Hansson2005-02-181-181/+254
* Addded validation for validate all the associated objects before declaring fa...David Heinemeier Hansson2005-02-171-3/+3
* Fixed documentation snafus #575, #576, #577, #585David Heinemeier Hansson2005-02-071-3/+3
* Fixed documentation #538David Heinemeier Hansson2005-01-251-1/+1
* Replaced === checks with is_a? checks #502, #82 [Marcel Molina]David Heinemeier Hansson2005-01-201-2/+2
* Added validates_associated that enables validation of objects in an unsaved a...David Heinemeier Hansson2005-01-151-0/+33
* Fixed Base#update_attribute to be indifferent to whether a string or symbol i...David Heinemeier Hansson2005-01-061-1/+1
* Fixed #406 for realDavid Heinemeier Hansson2005-01-041-2/+2
* Fixed that validates_uniqueness_of used 'id' instead of defined primary key #406David Heinemeier Hansson2005-01-041-2/+2
* 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-2/+7
* Added allow_nil options to validates_inclusion_of so that validation is only ...David Heinemeier Hansson2004-12-221-1/+7
* Fixed that overriding an attribute's accessor would be disregarded by add_on_...David Heinemeier Hansson2004-12-221-4/+9
* Fixed validates_{confirmation,acceptance}_of to only happen when the virtual ...David Heinemeier Hansson2004-12-211-4/+6
* Reworded a few doc things for better comprehension [dblack]David Heinemeier Hansson2004-12-191-3/+3
* Fixed small doc bug [dblack]David Heinemeier Hansson2004-12-191-1/+1
* Made the last tweaks before 0.9David Heinemeier Hansson2004-12-161-3/+2
* Updated and added more documentationDavid Heinemeier Hansson2004-12-161-31/+28
* Added Base.validates_inclusion_ofDavid Heinemeier Hansson2004-12-161-10/+64
* Renamed Mixins to Acts to resemble the change from include ActiveRecord::Mixi...David Heinemeier Hansson2004-12-161-12/+12
* 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-6/+28
* Added Base.default_error_messages as a hash of all the error messages used in...David Heinemeier Hansson2004-12-151-9/+22
* Added Base.validates_boundries_of that delegates to add_on_boundary_breaking ...David Heinemeier Hansson2004-12-151-18/+37
* Insignificante...David Heinemeier Hansson2004-12-151-0/+1
* Changed validate_* to validates_*_of, so validate_acceptance becomes validate...David Heinemeier Hansson2004-12-151-56/+27
* Extended no inclusion of messages if theyre nil to baseDavid Heinemeier Hansson2004-12-131-1/+3
* Added the possibility of marking fields as being in error without adding a me...David Heinemeier Hansson2004-12-121-2/+2
* No longer necessary to guard against reincludes with the new reset of inherit...David Heinemeier Hansson2004-12-121-1/+1
* Options for the new validation methods are now given as a hashDavid Heinemeier Hansson2004-12-101-10/+26
* Added Base.validate_uniqueness thatv alidates whether the value of the specif...David Heinemeier Hansson2004-12-101-3/+21
* Added Base.validate_presence as an alternative to implementing validate and d...David Heinemeier Hansson2004-12-101-12/+53
* Fixed Base.errors to be indifferent as to whether strings or symbols are used.David Heinemeier Hansson2004-12-091-15/+20
* Added Base.validate_confirmation that encapsulates the pattern of wanting to ...David Heinemeier Hansson2004-12-091-0/+23
* Changed the Proc for a string to avoid repetition problemsDavid Heinemeier Hansson2004-12-091-5/+3
* Added Base.validate_confirmation that encapsulates the pattern of wanting to ...David Heinemeier Hansson2004-12-091-0/+31
* Added validation macros to make the stackable just like the lifecycle callbacksDavid Heinemeier Hansson2004-12-091-1/+46
* InitialDavid Heinemeier Hansson2004-11-241-0/+205