Permalink
Browse files

Fix rdoc typo. Closes #11205 [wangchun]

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 9a947af commit c6a3a39feade3ad5340cd3edfecbd024eecf653a @jeremy jeremy committed Feb 24, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/validations.rb
@@ -389,7 +389,7 @@ def validates_each(*attrs)
# <%= password_field "person", "password_confirmation" %>
#
# The added +password_confirmation+ attribute is virtual; it exists only as an in-memory attribute for validating the password.
- # To achieve this, the validation adds acccessors to the model for the confirmation attribute. NOTE: This check is performed
+ # To achieve this, the validation adds accessors to the model for the confirmation attribute. NOTE: This check is performed
# only if +password_confirmation+ is not nil, and by default only on save. To require confirmation, make sure to add a presence
# check for the confirmation attribute:
#

0 comments on commit c6a3a39

Please sign in to comment.