aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations/associated.rb
diff options
context:
space:
mode:
authorFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-09-22 18:26:00 -0500
committerFrancesco Rodriguez <lrodriguezsanc@gmail.com>2012-09-22 18:26:00 -0500
commitd13cd2a7a9d766f450e9a8a7e01f5df54b3dc7b0 (patch)
treeed5eda8562e6f548632d018b9e659207b02a58a2 /activerecord/lib/active_record/validations/associated.rb
parentb21012bc3911d53eef6fc3bc3222c8e762664671 (diff)
downloadrails-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.rb2
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)