Changeset 8927
- Timestamp:
- 02/24/08 00:37:12 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/activerecord/lib/active_record/validations.rb
r8845 r8927 390 390 # 391 391 # The added +password_confirmation+ attribute is virtual; it exists only as an in-memory attribute for validating the password. 392 # To achieve this, the validation adds acc cessors to the model for the confirmation attribute. NOTE: This check is performed392 # To achieve this, the validation adds accessors to the model for the confirmation attribute. NOTE: This check is performed 393 393 # only if +password_confirmation+ is not nil, and by default only on save. To require confirmation, make sure to add a presence 394 394 # check for the confirmation attribute: