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
This commit is contained in:
David Heinemeier Hansson 2004-12-19 14:17:28 +00:00
parent 0f478181e4
commit 830c561e71
1 changed files with 3 additions and 3 deletions

View File

@ -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:
# * <tt>message</tt> - 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:
# * <tt>message</tt> - 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:
# * <tt>message</tt> - A custom error message (default is: "has already been taken")