Skip to content
Browse files

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
  • Loading branch information...
1 parent 20bab5b commit 8bc9018882c55cea06d062a9d2d4a32f92b2dc47 @NZKoz NZKoz committed Feb 4, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/validations.rb
View
2 activerecord/lib/active_record/validations.rb
@@ -610,7 +610,7 @@ def validates_length_of(*attrs)
#
# 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")

0 comments on commit 8bc9018

Please sign in to comment.
Something went wrong with that request. Please try again.