GitHub Sale: sign up for any paid plan this week and pay nothing until January 1, 2009!  [ hide ]

public
Fork of lifo/docrails
Description: PLEASE CHECK http://github.com/lifo/docrails/wikis
Homepage: http://weblog.rubyonrails.org/2008/5/2/help-improve-rails-documentation-on-git-branch
Clone URL: git://github.com/TampaRuby/docrails.git
revised list conventions in AM's validates_associated
fxn (author)
Mon May 05 13:48:16 -0700 2008
commit  2979b1a1432127f1c3cb4571b5dc2980737459bc
tree    bf74cc409445d90f7b50a384c7800ca95c77be51
parent  c3218300334ba8f916f5208e8df4e426efb69dfb
...
25
26
27
28
 
29
30
31
...
25
26
27
 
28
29
30
31
0
@@ -25,7 +25,7 @@ module ActiveModel
0
       #
0
       # Configuration options:
0
       # * <tt>:message</tt> - A custom error message (default is: "is invalid")
0
- # * <tt>:on</tt> Specifies when this validation is active (default is <tt>:save</tt>, other options <tt>:create</tt>, <tt>:update</tt>)
0
+ # * <tt>:on</tt> - Specifies when this validation is active (default is <tt>:save</tt>, other options <tt>:create</tt>, <tt>:update</tt>)
0
       # * <tt>:if</tt> - Specifies a method, proc or string to call to determine if the validation should
0
       # occur (e.g. <tt>:if => :allow_validation</tt>, or <tt>:if => Proc.new { |user| user.signup_step > 2 }</tt>). The
0
       # method, proc or string should return or evaluate to a true or false value.

Comments

    No one has commented yet.