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

Changeset 8281

Show
Ignore:
Timestamp:
12/05/07 14:24:39 (8 months ago)
Author:
marcel
Message:

Document the :message option for validates_associated. Closes #10357 [dylans]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/CHANGELOG

    r8280 r8281  
    11*SVN* 
     2 
     3* Document the :message option for validates_associated. Closes #10357 [dylans] 
    24 
    35* Document automatically generated predicate methods for attributes. Closes #10373 [chuyeow] 
  • trunk/activerecord/lib/active_record/validations.rb

    r8256 r8281  
    778778      # 
    779779      # Configuration options: 
     780      # * <tt>message</tt> - A custom error message (default is: "is invalid") 
    780781      # * <tt>on</tt> Specifies when this validation is active (default is :save, other options :create, :update) 
    781782      # * <tt>if</tt> - Specifies a method, proc or string to call to determine if the validation should