diff options
author | Michael Koziarski <michael@koziarski.com> | 2008-02-04 23:29:21 +0000 |
---|---|---|
committer | Michael Koziarski <michael@koziarski.com> | 2008-02-04 23:29:21 +0000 |
commit | 8bc9018882c55cea06d062a9d2d4a32f92b2dc47 (patch) | |
tree | 661751877db6f5149664b445f8e4f26eeafeba9a /activerecord | |
parent | 20bab5bc64cfa25c8693e7be271dec075869dfc9 (diff) | |
download | rails-8bc9018882c55cea06d062a9d2d4a32f92b2dc47.tar.gz rails-8bc9018882c55cea06d062a9d2d4a32f92b2dc47.tar.bz2 rails-8bc9018882c55cea06d062a9d2d4a32f92b2dc47.zip |
Make the docs reference the correct function. [Tobi Reif]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8802 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 7770d805b1..c49684dceb 100755 --- a/activerecord/lib/active_record/validations.rb +++ b/activerecord/lib/active_record/validations.rb @@ -610,7 +610,7 @@ module ActiveRecord # # Because this check is performed outside the database there is still a chance that duplicate values # will be inserted in two parallel transactions. To guarantee against this you should create a - # unique index on the field. See +create_index+ for more information. + # unique index on the field. See +add_index+ for more information. # # Configuration options: # * <tt>message</tt> - Specifies a custom error message (default is: "has already been taken") |