Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 2726

Show
Ignore:
Timestamp:
10/25/05 10:44:07 (3 years ago)
Author:
csshsh
Message:

Minor documentation fix

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/lib/active_record/validations.rb

    r2434 r2726  
    177177  #   person.save                         # => false (and doesn't do the save) 
    178178  #   person.errors.empty?                # => false 
    179   #   person.count                        # => 2 
     179  #   person.errors.count                 # => 2 
    180180  #   person.errors.on "last_name"        # => "can't be empty" 
    181181  #   person.errors.on "phone_number"     # => "has invalid format"