Permalink
Browse files

Update ConfirmationValidator docs, correct when the validator runs

  • Loading branch information...
1 parent 40cf126 commit 6e9bbe3d0b55e86e0613e99df98c001fdebd37a9 @aussiegeek aussiegeek committed Jan 4, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activemodel/lib/active_model/validations/confirmation.rb
@@ -37,7 +37,7 @@ module HelperMethods
# attribute.
#
# NOTE: This check is performed only if +password_confirmation+ is not
- # +nil+, and by default only on save. To require confirmation, make sure
+ # +nil+. To require confirmation, make sure
# to add a presence check for the confirmation attribute:
#
# validates_presence_of :password_confirmation, :if => :password_changed?

0 comments on commit 6e9bbe3

Please sign in to comment.