mirror of
https://github.com/github/rails.git
synced 2026-01-28 07:48:00 -05:00
Fix rdoc typo. Closes #11205 [wangchun]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8927 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -389,7 +389,7 @@ module ActiveRecord
|
||||
# <%= 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:
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user