diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-19 13:59:23 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2004-12-19 13:59:23 +0000 |
commit | 0f478181e430a9926c8aa4bd7c19bd7fea85a8d3 (patch) | |
tree | 20c30a97db951336b14406910f9c7b202b3ea647 /activerecord | |
parent | c8b24915c6f8a8c61087cac6c3f605c254b0e105 (diff) | |
download | rails-0f478181e430a9926c8aa4bd7c19bd7fea85a8d3.tar.gz rails-0f478181e430a9926c8aa4bd7c19bd7fea85a8d3.tar.bz2 rails-0f478181e430a9926c8aa4bd7c19bd7fea85a8d3.zip |
Fixed small doc bug [dblack]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@225 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord')
-rwxr-xr-x | activerecord/lib/active_record/validations.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/validations.rb b/activerecord/lib/active_record/validations.rb index af3285f04e..eb59dc0f82 100755 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -99,7 +99,7 @@ module ActiveRecord # The terms_of_service attribute is entirely virtual. No database column is needed. This check is performed both on create and update. # # 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) # # 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. |