aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations.rb
Commit message (Expand)AuthorAgeFilesLines
* alias_method_chain preserves method punctuation so foo, foo?, and foo! may be...Jeremy Kemper2006-06-211-1/+1
* create! no longer blows up when no attributes are passed and a :create scope ...Jeremy Kemper2006-05-191-0/+1
* Replace alias method chaining with Module#alias_method_chain. [Marcel Molina ...Marcel Molina2006-04-291-8/+3
* Replace Ruby's deprecated append_features in favor of included. [Marcel Molin...Marcel Molina2006-04-291-2/+1
* Add warning about the proper way to validate the presence of a foreign key. C...Marcel Molina2006-04-261-0/+12
* Add ActiveRecord::Errors#to_xmlJamis Buck2006-04-211-0/+12
* DRY up and tweak style of the validation error object.Marcel Molina2006-04-151-14/+7
* Add :case_sensitive option to validates_uniqueness_of (closes #3090) [Rick]Rick Olson2006-04-121-3/+11
* Doc fix #3960 [jonrailsdev@shumi.org]David Heinemeier Hansson2006-04-031-2/+2
* Fixed documentationDavid Heinemeier Hansson2006-03-281-1/+1
* Update descriptionDavid Heinemeier Hansson2006-03-281-3/+3
* Fixed that Base.save should always return false if the save didn't succeed, i...David Heinemeier Hansson2006-02-281-3/+5
* Example for validates_presence_of method (closes #3966) [Robby Russell]David Heinemeier Hansson2006-02-261-1/+7
* Fixed validates_length_of to work on UTF-8 strings by using characters instea...David Heinemeier Hansson2006-02-251-21/+25
* Renamed Errors#count to Errors#size but kept an alias for the old name (and i...David Heinemeier Hansson2006-02-231-1/+4
* ActiveRecord::RecordInvalid now states which validations failed in its defaul...Tobias Lütke2006-02-051-2/+2
* Silly meDavid Heinemeier Hansson2006-02-011-5/+0
* Added Errors#any? to mean !Errors#empty? [DHH]David Heinemeier Hansson2006-02-011-0/+5
* Disambiguate table names for columns in validates_uniquness_of's WHERE clause...Marcel Molina2006-01-131-3/+3
* Allow validate_uniqueness_of to be scoped by more than just one column. Close...Marcel Molina2005-12-021-5/+15
* Revert [3130]. Behavior of introducing Kernel.binding causes breakage.Marcel Molina2005-11-211-2/+2
* Use Kernel.binding rather than binding to allow columns of that name. Refere...Jeremy Kemper2005-11-211-2/+2
* r3095@asus: jeremy | 2005-11-15 22:40:51 -0800Jeremy Kemper2005-11-161-6/+13
* Make Validations#create! use the current scopeJamis Buck2005-11-121-0/+2
* Include the Enumerable module in ActiveRecord::Errors.Jeremy Kemper2005-11-111-0/+2
* Allow capital letters in the email address in the the validates_format_of exa...Florian Weber2005-11-091-1/+1
* Add Model.create! to match existing model.save! method. When save! raises Re...Jeremy Kemper2005-11-031-35/+65
* Fix docs (closes #2491)David Heinemeier Hansson2005-10-261-5/+5
* Minor documentation fixFlorian Weber2005-10-251-1/+1
* Association validation does not belong in a before_save callback: move it int...Jeremy Kemper2005-10-021-3/+7
* r3604@asus: jeremy | 2005-09-26 19:10:42 -0700Jeremy Kemper2005-09-261-20/+29
* Make update_attribute use the same writer method that update_attributes uses.Marcel Molina2005-09-261-1/+1
* Refactored to a more readble form #1813David Heinemeier Hansson2005-09-111-1/+1
* Fix typo in validations documentation #1938 [court3nay]Jamis Buck2005-08-141-1/+2
* Fixed validates_numericality_of to work with overrided getter-method when :al...David Heinemeier Hansson2005-07-021-0/+1
* Clarified intentions of validates_associated #870David Heinemeier Hansson2005-07-021-1/+4
* Updated all references to the old find_first and find_all to use the new styl...David Heinemeier Hansson2005-06-261-2/+2
* Fixed that validations didn't respecting custom setting for too_short, too_lo...David Heinemeier Hansson2005-06-251-7/+3
* Added ActiveRecord::Recursion to guard against recursive calls to #saveJamis Buck2005-06-131-1/+1
* Added Errors#add_on_blank which works like Errors#add_on_empty, but uses Obje...David Heinemeier Hansson2005-05-211-6/+15
* Added the :if option to all validations that can either use a block or a meth...David Heinemeier Hansson2005-05-211-5/+66
* Fixed docs for scaffolding generator #1303 [thijs@vandervossen.net]David Heinemeier Hansson2005-05-191-2/+0
* Fixed that validate_length_of lost :on option when :within was specified #119...David Heinemeier Hansson2005-04-301-3/+5
* 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