Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on May 1, 2008
  1. @dhh

    Added block-setting of attributes for Base.create like Base.new alrea…

    dhh authored
    …dy has (Adam Meehan) [#39 state:resolved]
Commits on Mar 29, 2008
  1. @dhh
Commits on Nov 25, 2007
  1. @dhh

    Allow validates_acceptance_of to use a real attribute instead of only…

    dhh authored
    … virtual (so you can record that the acceptance occured) (closes #7457) [ambethia]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8208 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 24, 2007
  1. @dhh

    Added :unless clause to validations (closes #8003) [monki]

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 23, 2007
  1. @dhh

    Fixed validates_associated should not stop on the first error (closes #…

    dhh authored
    …4276) [mrj/manfred/josh]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7094 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 9, 2006
  1. @dhh

    Deprecated add_on_boundary_breaking (use validates_length_of instead)…

    dhh authored
    … (closes #6292) [BobSilva]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5255 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 5, 2006
  1. @dhh

    Backed out of new_record? to new? transformation as it would screw up…

    dhh authored
    … existing models that did boolean calls on "new" attributes [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5018 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Deprecated ActiveRecord::Base.new_record? in favor of ActiveRecord::B…

    dhh authored
    …ase.new? (old version still works until Rails 2.0) [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5017 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 3, 2006
  1. @dhh

    Doc fix #3960 [jonrailsdev@shumi.org]

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4142 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 28, 2006
  1. @dhh

    Fixed documentation

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4078 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Update description

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4074 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 28, 2006
  1. @dhh

    Fixed that Base.save should always return false if the save didn't su…

    dhh authored
    …cceed, including if it has halted by before_save's (closes #1861, #2477) [DHH]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3707 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 26, 2006
  1. @dhh
Commits on Feb 25, 2006
  1. @dhh

    Fixed validates_length_of to work on UTF-8 strings by using character…

    dhh authored
    …s instead of bytes (closes #3699) [Masao Mutoh]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3654 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 23, 2006
  1. @dhh

    Renamed Errors#count to Errors#size but kept an alias for the old nam…

    dhh authored
    …e (and included an alias for length too) (closes #3920, #3320) [contact@lukeredpath.co.uk]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3639 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Feb 1, 2006
  1. @dhh

    Silly me

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3513 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Added Errors#any? to mean !Errors#empty? [DHH]

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3510 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Oct 26, 2005
  1. @dhh

    Fix docs (closes #2491)

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2744 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Sep 11, 2005
  1. @dhh

    Refactored to a more readble form #1813

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2202 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jul 2, 2005
  1. @dhh

    Fixed validates_numericality_of to work with overrided getter-method …

    dhh authored
    …when :allow_nil is on #1316 [raidel@onemail.at]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1603 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Clarified intentions of validates_associated #870

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1602 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 26, 2005
  1. @dhh

    Updated all references to the old find_first and find_all to use the …

    dhh authored
    …new style #1511 [Marcel Molina]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1520 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Jun 25, 2005
  1. @dhh

    Fixed that validations didn't respecting custom setting for too_short…

    dhh authored
    …, too_long messages #1437 [Marcel Molina]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1509 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on May 21, 2005
  1. @dhh

    Added Errors#add_on_blank which works like Errors#add_on_empty, but u…

    dhh authored
    …ses Object#blank? instead. CHANGED: validates_presence_of now uses Errors#add_on_blank, which will make " " fail the validation where it didnt before #1309. Added that "   " is now also blank? (using strip if available)
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1346 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Added the :if option to all validations that can either use a block o…

    dhh authored
    …r a method pointer to determine whether the validation should be run or not. #1324 [Duane Johnson/jhosteny]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1340 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on May 19, 2005
  1. @dhh
Commits on Apr 30, 2005
  1. @dhh

    Fixed that validate_length_of lost :on option when :within was specif…

    dhh authored
    …ied #1195 [jhosteny@mac.com]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1258 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 24, 2005
  1. @dhh
Commits on Apr 18, 2005
  1. @dhh

    Fixed documentation and prepared for release of 0.12

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Added Base.save! that attempts to save the record just like Base.save…

    dhh authored
    … but will raise a InvalidRecord exception instead of returning false if the record is not valid [After much pestering from Dave Thomas]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1215 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 17, 2005
  1. @dhh

    Added the option to specify the acceptance string in validates_accept…

    dhh authored
    …ance_of #1106 [caleb@aei-tech.com]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1188 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  2. @dhh

    Cleaned up validates_length_of by calling existing validations on the…

    dhh authored
    … common stuff #1108 [caleb@aei-tech.com]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1178 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Apr 13, 2005
  1. @dhh

    Address parsing failed when the "to" (or "cc", or whatever) was an ar…

    dhh authored
    …ray. It was also too restrictive in the formats of the addresses #1097 [Jamis]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1149 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 14, 2005
  1. @dhh

    Added optionally allow for nil or empty strings with validates_numeri…

    dhh authored
    …cality_of #801 [Sebastian Kanthak] Fixed problem with using slashes in validates_format_of regular expressions #801 [Sebastian Kanthak]
    
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@910 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Commits on Mar 6, 2005
  1. @dhh

    Added validates_numericality_of #716 [skanthak/c.r.mcgrath]

    dhh authored
    git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@842 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Something went wrong with that request. Please try again.