Skip to content

Commit

Permalink
Fixed small doc bug [dblack]
Browse files Browse the repository at this point in the history
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
dhh committed Dec 19, 2004
1 parent c8b2491 commit 0f47818
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/lib/active_record/validations.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def validates_confirmation_of(*attr_names)
# 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 both on create and update.
# #
# Configuration options: # Configuration options:
# * <tt>message</tt> - A custom error message (default is: "must be accepted") # * <tt>message</tt> - A custom error message (default is: "can't be empty")
# * <tt>on</tt> - Specifies when this validation is active (default is :save, other options :create, :update) # * <tt>on</tt> - Specifies when this validation is active (default is :save, other options :create, :update)
# #
# NOTE: The agreement is considered valid if it's set to the string "1". This makes it easy to relate it to an HTML checkbox. # NOTE: The agreement is considered valid if it's set to the string "1". This makes it easy to relate it to an HTML checkbox.
Expand Down

0 comments on commit 0f47818

Please sign in to comment.