Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Changeset 8802

Show
Ignore:
Timestamp:
02/04/08 23:29:21 (8 months ago)
Author:
nzkoz
Message:

Make the docs reference the correct function. [Tobi Reif]

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/activerecord/lib/active_record/validations.rb

    r8733 r8802  
    611611      # Because this check is performed outside the database there is still a chance that duplicate values 
    612612      # will be inserted in two parallel transactions.  To guarantee against this you should create a  
    613       # unique index on the field. See +create_index+ for more information. 
     613      # unique index on the field. See +add_index+ for more information. 
    614614      # 
    615615      # Configuration options: