aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/validations/associated.rb
diff options
context:
space:
mode:
authorVijay Dev <vijaydev.cse@gmail.com>2012-09-28 23:17:07 +0530
committerVijay Dev <vijaydev.cse@gmail.com>2012-09-28 23:17:07 +0530
commit955a72c692a4298d238cc2e6353b9874099203f1 (patch)
tree2a05fecd15526cd0013c22e45825be1aca4844d9 /activerecord/lib/active_record/validations/associated.rb
parent77fbe1c0199567486c422fdf5cce49f2c11fc953 (diff)
parentcf3e760b87c49470c9a26ab3e2da67602474be1f (diff)
downloadrails-955a72c692a4298d238cc2e6353b9874099203f1.tar.gz
rails-955a72c692a4298d238cc2e6353b9874099203f1.tar.bz2
rails-955a72c692a4298d238cc2e6353b9874099203f1.zip
Merge branch 'master' of github.com:lifo/docrails
Conflicts: actionpack/lib/action_view/helpers/asset_tag_helper.rb
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)