diff options
author | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-09-22 18:26:00 -0500 |
---|---|---|
committer | Francesco Rodriguez <lrodriguezsanc@gmail.com> | 2012-09-22 18:26:00 -0500 |
commit | d13cd2a7a9d766f450e9a8a7e01f5df54b3dc7b0 (patch) | |
tree | ed5eda8562e6f548632d018b9e659207b02a58a2 /activerecord/lib/active_record/validations/associated.rb | |
parent | b21012bc3911d53eef6fc3bc3222c8e762664671 (diff) | |
download | rails-d13cd2a7a9d766f450e9a8a7e01f5df54b3dc7b0.tar.gz rails-d13cd2a7a9d766f450e9a8a7e01f5df54b3dc7b0.tar.bz2 rails-d13cd2a7a9d766f450e9a8a7e01f5df54b3dc7b0.zip |
update AR::Validations documentation [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/validations/associated.rb')
-rw-r--r-- | activerecord/lib/active_record/validations/associated.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/validations/associated.rb b/activerecord/lib/active_record/validations/associated.rb index 1fa6629980..7f1972ccf9 100644 --- a/activerecord/lib/active_record/validations/associated.rb +++ b/activerecord/lib/active_record/validations/associated.rb @@ -38,7 +38,7 @@ module ActiveRecord # proc or string should return or evaluate to a +true+ or +false+ value. # * <tt>:unless</tt> - Specifies a method, proc or string to call to # determine if the validation should not occur (e.g. <tt>unless: :skip_validation</tt>, - # or <tt>unless: => Proc.new { |user| user.signup_step <= 2 }</tt>). The + # or <tt>unless: Proc.new { |user| user.signup_step <= 2 }</tt>). The # method, proc or string should return or evaluate to a +true+ or +false+ # value. def validates_associated(*attr_names) |