From 830c561e7105f89020f2c3ccb465aa0864e92b87 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sun, 19 Dec 2004 14:17:28 +0000 Subject: Reworded a few doc things for better comprehension [dblack] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@226 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- activerecord/lib/active_record/validations.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'activerecord/lib/active_record') diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index eb59dc0f82..21ecf5f1c0 100755 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -74,7 +74,7 @@ module ActiveRecord # <%= password_field "person", "password_confirmation" %> # # The person has to already have a password attribute (a column in the people table), but the password_confirmation is virtual. - # It exists only as an in-memory variable for validating the password. This check is performed both on create and update. + # It exists only as an in-memory variable for validating the password. This check is performed on save by default. # # Configuration options: # * message - A custom error message (default is: "doesn't match confirmation") @@ -96,7 +96,7 @@ module ActiveRecord # validates_acceptance_of :eula, :message => "must be abided" # end # - # The terms_of_service attribute is entirely virtual. No database column is needed. This check is performed both on create and update. + # The terms_of_service attribute is entirely virtual. No database column is needed. This check is performed on save by default. # # Configuration options: # * message - A custom error message (default is: "can't be empty") @@ -113,7 +113,7 @@ module ActiveRecord end end - # Validates that the specified attributes are neither nil nor empty. Happens by default on both create and update. + # Validates that the specified attributes are neither nil nor empty. Happens by default on save. # # Configuration options: # * message - A custom error message (default is: "has already been taken") -- cgit v1.2.3